Class: Epi::Daemon::Responders::Start
- Inherits:
-
Epi::Daemon::Responder
- Object
- Epi::Daemon::Responder
- Epi::Daemon::Responders::Start
- Defined in:
- lib/epi/daemon/responders/start.rb
Instance Attribute Summary
Attributes inherited from Epi::Daemon::Responder
Instance Method Summary collapse
Methods inherited from Epi::Daemon::Responder
#done, #initialize, #logger, #puts, run
Constructor Details
This class inherits a constructor from Epi::Daemon::Responder
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/epi/daemon/responders/start.rb', line 7 def run count = Jobs.running_process_count if count == 0 'Starting ...' else "Starting #{count} process#{count == 1 ? '' : 'es'} ..." end end |