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