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)


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

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

#run?Boolean

Returns:

  • (Boolean)


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

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

#stop?Boolean

Returns:

  • (Boolean)


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

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