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

- old
+ new

@@ -30,16 +30,16 @@ def Success(type, value = nil) _ResultAs(Success, type, value, terminal: true) end private def Continue(value) - _ResultAs(Success, :continued, value) + _ResultAs(Success, IgnoredTypes::CONTINUE, value) end end module Given private def Given(value) - _ResultAs(Success, :given, value) + _ResultAs(Success, IgnoredTypes::GIVEN, value) end end OPTIONS = { continue: Continue, given: Given }.freeze