# File lib/rspec/mocks/argument_matchers.rb, line 40 def ==(value) Regexp === value ? value == @regexp : value =~ @regexp end