Constructs the expecation object. Used as a boundary between the definition and usage of the expectation
initialises a new instance of the expectation builder this builder is passed into the block to allow only certain operations in the block.
# File lib/caricature/expectation.rb, line 163
163: def initialize(method_name)
164: @method_name, @return_value, @super, @block, @error_args, @args, @any_args, @callback =
165: method_name, nil, nil, nil, nil, [], true, nil
166: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.