lib/rspec/matchers/operator_matcher.rb in rspec-expectations-2.12.1 vs lib/rspec/matchers/operator_matcher.rb in rspec-expectations-2.13.0

- old
+ new

@@ -30,10 +30,10 @@ end def self.use_custom_matcher_or_delegate(operator) define_method(operator) do |expected| if uses_generic_implementation_of?(operator) && matcher = OperatorMatcher.get(@actual.class, operator) - @actual.send(::RSpec::Matchers.last_should, matcher.new(expected)) + @actual.__send__(::RSpec::Matchers.last_should, matcher.new(expected)) else eval_match(@actual, operator, expected) end end