Exception: Toiler::WaitShutdown
- Inherits:
-
Interrupt
- Object
- Interrupt
- Toiler::WaitShutdown
- Defined in:
- lib/toiler/cli.rb
Overview
WaitShutdown is used to handle graceful shutdowns
Instance Attribute Summary collapse
-
#wait ⇒ Object
Returns the value of attribute wait.
Instance Method Summary collapse
-
#initialize(wait) ⇒ WaitShutdown
constructor
A new instance of WaitShutdown.
Constructor Details
#initialize(wait) ⇒ WaitShutdown
Returns a new instance of WaitShutdown.
16 17 18 19 |
# File 'lib/toiler/cli.rb', line 16 def initialize(wait) super @wait = wait end |
Instance Attribute Details
#wait ⇒ Object
Returns the value of attribute wait.
14 15 16 |
# File 'lib/toiler/cli.rb', line 14 def wait @wait end |