Class: Graphite::EventMachineHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/graphite/event_machine_handler.rb

Class Method Summary collapse

Class Method Details

.ensure_runningObject



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

def self.ensure_running
  start_em unless EventMachine.reactor_running? 
end