lib/yaoc/transformation_deferred_command.rb in yaoc-0.0.13 vs lib/yaoc/transformation_deferred_command.rb in yaoc-0.0.14

- old
+ new

@@ -1,17 +1,15 @@ module Yaoc class TransformationDeferredCommand < TransformationCommand - def value(time_saved_to_convert) - proc = ->{ + proc = ->do value_fetcher_proc.call(time_saved_to_convert, fetcher, from) - } + end TransformationDeferredCommand.deferrer_strategy(proc) end def self.deferrer_strategy(proc) Yaoc::Helper::ToProcDelegator.new(proc) end - end -end \ No newline at end of file +end