# File lib/rr/method_dispatches/method_dispatch.rb, line 11 def call space.record_call(subject, method_name, args, block) if double double.method_call(args) call_yields return_value_1 = call_implementation return_value_2 = extract_subject_from_return_value(return_value_1) if after_call_proc extract_subject_from_return_value(after_call_proc.call(return_value_2)) else return_value_2 end else double_not_found_error end end