RSpec::Mocks::AnyInstance::StubChain

Public Class Methods

new(*args, &block) click to toggle source
# File lib/rspec/mocks/any_instance.rb, line 49
def initialize(*args, &block)
  record(:stub, *args, &block)
end

Public Instance Methods

expectation_filfilled?() click to toggle source
# File lib/rspec/mocks/any_instance.rb, line 63
def expectation_filfilled?
  true
end
invocation_order() click to toggle source
# File lib/rspec/mocks/any_instance.rb, line 53
def invocation_order
  @invocation_order ||= {
    :stub => [nil],
    :with => [:stub],
    :and_return => [:with, :stub],
    :and_raise => [:with, :stub],
    :and_yield => [:with, :stub]
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.