Module: Daemon
- Defined in:
- lib/inari/daemon.rb
Defined Under Namespace
Modules: Controller, PidFile Classes: Base
Class Method Summary collapse
Class Method Details
.exit? ⇒ Boolean
7 8 9 |
# File 'lib/inari/daemon.rb', line 7 def self.exit? !ARGV.empty? and ARGV[0] == 'stop' end |