Method: Chore::CLI#shutdown
- Defined in:
- lib/chore/cli.rb
#shutdown ⇒ Object
Begins the Chore shutdown process. This will call Chore::Manager#shutdown if it is not already in the process of stopping Exits with code 0
58 59 60 61 62 63 64 |
# File 'lib/chore/cli.rb', line 58 def shutdown unless @stopping @stopping = true @manager.shutdown! if @manager exit(0) end end |