Class: Evma::Reactor

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/evma/reactor.rb

Instance Method Summary collapse

Constructor Details

#initializeReactor



34
35
36
# File 'lib/evma/reactor.rb', line 34

def initialize
  EventMachine.initialize_event_machine
end

Instance Method Details

#runObject



40
41
42
# File 'lib/evma/reactor.rb', line 40

def run
  EventMachine.run_machine
end