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 142 def initialize(method_name) @method_name, @return_value, @super, @block, @error_args, @args, @any_args = method_name, nil, nil, nil, nil, [], true end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.