class Hyperloop::Operation

insure at least a stub of operation is defined. If Hyperloop::Operation is already loaded it will have defined these.

Public Class Methods

on_dispatch(&block) click to toggle source
# File lib/hyperloop/application/boot.rb, line 7
def on_dispatch(&block)
  receivers << block
end
receivers() click to toggle source
# File lib/hyperloop/application/boot.rb, line 11
def receivers
  # use the force: true option so that system code needing to receive
  # boot will NOT be erased on the next Hyperloop::Context.reset!
  Hyperloop::Context.set_var(self, :@receivers, force: true) { [] }
end