Object
An expectation recorder records any expectations received and plays them back on demand. This is used to collect the expectations in the blockless version of the new_instances call.
Apply the recorded messages to the given object in a chaining fashion (i.e. the result of the previous call is used as the target of the next call).
# File lib/flexmock/expectation.rb, line 469 469: def apply(mock) 470: obj = mock 471: @expectations.each do |sym, args, block| 472: obj = obj.send(sym, *args, &block) 473: end 474: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.