Class/Module Index [+]

Quicksearch

Spec::Mocks::NegativeMessageExpectation

Public Class Methods

new(message, expectation_ordering, expected_from, sym, method_block) click to toggle source
# File lib/spec/mocks/message_expectation.rb, line 334
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
# File lib/spec/mocks/message_expectation.rb, line 338
def negative_expectation_for?(sym)
  return @sym == sym
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.