class RSpec::Mocks::TargetBase
def self.disallow_negation(method_name)
def self.disallow_negation(method_name) define_method(method_name) do |matcher, *args| raise_negation_unsupported(method_name, matcher) end end
def self.disallow_negation(method_name) define_method(method_name) do |matcher, *args| raise_negation_unsupported(method_name, matcher) end end