Module: Minus5::Daemon

Defined in:
lib/minus5_daemon/base.rb,
lib/minus5_daemon/runner.rb,
lib/minus5_daemon/em_base.rb

Defined Under Namespace

Classes: Base, EmBase, Runner

Class Method Summary collapse

Class Method Details

.run(klass) ⇒ Object



4
5
6
7
8
# File 'lib/minus5_daemon/runner.rb', line 4

def self.run(klass)
  Runner.new(klass).run
rescue => e
  print "#{e}\n"
end