lib/bcdd/result/mixin.rb in bcdd-result-0.11.0 vs lib/bcdd/result/mixin.rb in bcdd-result-0.12.0

- old
+ new

@@ -19,10 +19,10 @@ def Failure(type, value = nil) _ResultAs(Failure, type, value) end private def _ResultAs(kind_class, type, value, terminal: nil) - kind_class.new(type: type, value: value, subject: self, terminal: terminal) + kind_class.new(type: type, value: value, source: self, terminal: terminal) end end module Addons module Continue