Object
# File lib/spec/mocks/argument_matchers.rb, line 38 def initialize(regexp) @regexp = regexp end
# File lib/spec/mocks/argument_matchers.rb, line 42 def ==(value) return value =~ @regexp unless value.is_a?(Regexp) value == @regexp end
[Validate]
Generated with the Darkfish Rdoc Generator 2.