RSpec::Mocks::AnyInstance::StubChainChain

@private

Public Class Methods

new(*args, &block) click to toggle source

@private

     # File lib/rspec/mocks/any_instance/chain.rb, line 141
141:         def initialize(*args, &block)
142:           record(:stub_chain, *args, &block)
143:         end

Private Instance Methods

invocation_order() click to toggle source
     # File lib/rspec/mocks/any_instance/chain.rb, line 147
147:         def invocation_order
148:           @invocation_order ||= {
149:             :stub_chain => [nil],
150:             :and_return => [:stub_chain],
151:             :and_raise => [:stub_chain],
152:             :and_yield => [:stub_chain]
153:           }
154:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.