Class: Epi::Daemon::Responders::Shutdown

Inherits:
Epi::Daemon::Responder show all
Defined in:
lib/epi/daemon/responders/shutdown.rb

Instance Attribute Summary collapse

Attributes inherited from Epi::Daemon::Responder

#receiver

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 Attribute Details

#argumentsObject

Returns the value of attribute arguments.



6
7
8
# File 'lib/epi/daemon/responders/shutdown.rb', line 6

def arguments
  @arguments
end

#commandObject

Returns the value of attribute command.



6
7
8
# File 'lib/epi/daemon/responders/shutdown.rb', line 6

def command
  @command
end

Instance Method Details

#runObject



8
9
10
# File 'lib/epi/daemon/responders/shutdown.rb', line 8

def run
  raise Exceptions::Shutdown
end