# File lib/rspec/expectations/expectation_target.rb, line 35 def to_not(matcher=nil, message=nil, &block) prevent_operator_matchers(:to_not, matcher) RSpec::Expectations::NegativeExpectationHandler.handle_matcher(@target, matcher, message, &block) end