Object
# File lib/rspec/mocks/argument_matchers.rb, line 36 def initialize(regexp) @regexp = regexp end
# File lib/rspec/mocks/argument_matchers.rb, line 40 def ==(value) Regexp === value ? value == @regexp : value =~ @regexp end
[Validate]
Generated with the Darkfish Rdoc Generator 2.