Class: Qs::Daemon::State

Inherits:
DatWorkerPool::LockedObject
  • Object
show all
Defined in:
lib/qs/daemon.rb

Instance Method Summary collapse

Instance Method Details

#halt?Boolean

Returns:

  • (Boolean)


350
# File 'lib/qs/daemon.rb', line 350

def halt?; self.value == :halt; end

#run?Boolean

Returns:

  • (Boolean)


348
# File 'lib/qs/daemon.rb', line 348

def run?;  self.value == :run;  end

#stop?Boolean

Returns:

  • (Boolean)


349
# File 'lib/qs/daemon.rb', line 349

def stop?; self.value == :stop; end