lib/micro/case.rb in u-case-2.0.0.pre vs lib/micro/case.rb in u-case-2.0.0.pre.2

- old
+ new

@@ -18,15 +18,19 @@ def self.to_proc Proc.new { |arg| call(arg) } end + def self.Flow(args) + Flow::Reducer.build(Array(args)) + end + def self.>>(use_case) - Flow[self, use_case] + Flow([self, use_case]) end def self.&(use_case) - Safe::Flow[self, use_case] + Safe::Flow([self, use_case]) end def self.call(options = {}) new(options).call end