Sha256: 432f4ceb93ce8c81a0d01f12bc69c3aa452ddfc6968044ca9d029154111ba9ae

Contents?: true

Size: 183 Bytes

Versions: 24

Compression:

Stored size: 183 Bytes

Contents

class Reactor::ResourceActionable::ActionEvent
  def self.perform(&block)
    @perform_block = block
  end

  def self.perform_on(ctx)
    ctx.instance_exec(&@perform_block)
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
reactor-0.13.0 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.12.2 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.12.1 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.11.4 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.11.2 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.11.1 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.11.0 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.10.1 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.10.0 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.9 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.8 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.7 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.6 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.5 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.4 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.2 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.1 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.9.0 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.8.3 lib/reactor/controllers/concerns/actions/action_event.rb
reactor-0.8.2 lib/reactor/controllers/concerns/actions/action_event.rb