Facon::NegativeExpectation

Public Class Methods

new(error_generator, expectation_ordering, expected_from, method, method_block, expected_received_count = 0) click to toggle source
# File lib/facon/expectation.rb, line 131
def initialize(error_generator, expectation_ordering, expected_from, method, method_block, expected_received_count = 0)
  super(error_generator, expectation_ordering, expected_from, method, method_block, expected_received_count)
end

Public Instance Methods

negative_expectation_for?(method) click to toggle source
# File lib/facon/expectation.rb, line 135
def negative_expectation_for?(method)
  @method == method
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.