class LightService::Organizer::Execute
Public Class Methods
Source
# File lib/light-service/organizer/execute.rb, line 4 def self.run(code_block) lambda do |ctx| return ctx if ctx.stop_processing? code_block.call(ctx) ctx end end
# File lib/light-service/organizer/execute.rb, line 4 def self.run(code_block) lambda do |ctx| return ctx if ctx.stop_processing? code_block.call(ctx) ctx end end