class RSpec::Mocks::NegativeMessageExpectation

@private

Public Class Methods

new(message, expectation_ordering, expected_from, sym, method_block) click to toggle source

@private

# File lib/rspec/mocks/message_expectation.rb, line 491
def initialize(message, expectation_ordering, expected_from, sym, method_block)
  super(message, expectation_ordering, expected_from, sym, method_block, 0)
end

Public Instance Methods

negative_expectation_for?(sym) click to toggle source

@private

# File lib/rspec/mocks/message_expectation.rb, line 496
def negative_expectation_for?(sym)
  return @sym == sym
end