Class: Msnav::Ctl::Probe

Inherits:
Struct
  • Object
show all
Defined in:
lib/msnav/ctl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



29
30
31
# File 'lib/msnav/ctl.rb', line 29

def detail
  @detail
end

#healthObject

Returns the value of attribute health

Returns:

  • (Object)

    the current value of health



29
30
31
# File 'lib/msnav/ctl.rb', line 29

def health
  @health
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



29
30
31
# File 'lib/msnav/ctl.rb', line 29

def state
  @state
end

Instance Method Details

#pidObject



34
35
36
# File 'lib/msnav/ctl.rb', line 34

def pid
  health && health["pid"]
end

#rootObject



30
31
32
# File 'lib/msnav/ctl.rb', line 30

def root
  health && health["root"]
end