# File lib/rr/method_dispatches/method_missing_dispatch.rb, line 15
15: def call
16: if Injections::DoubleInjection.exists?(subject, method_name)
17: space.record_call(subject, method_name, args, block)
18: @double = find_double_to_attempt
19:
20: if double
21: double.method_call(args)
22: call_yields
23: return_value = extract_subject_from_return_value(call_implementation)
24: if after_call_proc
25: extract_subject_from_return_value(after_call_proc.call(return_value))
26: else
27: return_value
28: end
29: else
30: double_not_found_error
31: end
32: else
33: call_original_method
34: end
35: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.