Method: Magistrate::Process#status

Defined in:
lib/magistrate/process.rb

#statusObject



35
36
37
38
39
40
41
42
# File 'lib/magistrate/process.rb', line 35

def status
  {
    :state => self.state,
    :target_state => self.target_state,
    :pid => self.pid,
    :logs => @logs
  }
end