A base class to encapsulate method invocation
deliver the message to the receiving isolation
# File lib/caricature/messenger.rb, line 19
19: def deliver(method_name, return_type, *args, &b)
20:
21: internal_deliver(:instance, method_name, return_type, *args, &b)
22: end
deliver the message to class of the receiving isolation
# File lib/caricature/messenger.rb, line 25
25: def deliver_to_class(method_name, return_type, *args, &b)
26: internal_deliver(:class, method_name, return_type, *args, &b)
27: end
template method for looking up the expectation and/or returning a value
# File lib/caricature/messenger.rb, line 32
32: def internal_deliver(mode, method_name, return_type, *args, &b)
33: raise NotImplementedError.new("Override in an implementing class")
34: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.