lib/bcdd/result/callable_and_then/caller.rb in bcdd-result-0.12.0 vs lib/bcdd/result/callable_and_then/caller.rb in bcdd-result-0.13.0
- old
+ new
@@ -3,10 +3,10 @@
class BCDD::Result
class CallableAndThen::Caller
def self.call(source, value:, injected_value:, method_name:)
method = callable_method(source, method_name)
- Transitions.tracking.record_and_then(method, injected_value, source) do
+ Transitions.tracking.record_and_then(method, injected_value) do
result =
if source.is_a?(::Proc)
call_proc!(source, value, injected_value)
else
call_method!(source, method, value, injected_value)