lib/micro/case/safe.rb in u-case-3.0.0.rc3 vs lib/micro/case/safe.rb in u-case-3.0.0.rc4
- old
+ new
@@ -5,11 +5,11 @@
class Safe < ::Micro::Case
def self.__flow_builder
Cases::Safe::Flow
end
- def call
- __call
+ def __call__
+ __call!
rescue => exception
raise exception if Error.by_wrong_usage?(exception)
Failure(result: exception)
end