lib/bcdd/result/context/mixin.rb in bcdd-result-0.11.0 vs lib/bcdd/result/context/mixin.rb in bcdd-result-0.12.0
- old
+ new
@@ -12,10 +12,10 @@
def Failure(type, **value)
_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