Module: EventMachine

Defined in:
lib/event_machine.rb,
lib/event_machine/hooks.rb,
lib/event_machine/engine.rb,
lib/event_machine/version.rb

Defined Under Namespace

Modules: Hooks Classes: Engine

Constant Summary collapse

VERSION =
"0.4.1"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (EventMachine)

    the object that the method was called on



7
8
9
# File 'lib/event_machine.rb', line 7

def self.setup
  yield self
end