Class: Msnav::Ctl::Probe
- Inherits:
-
Struct
- Object
- Struct
- Msnav::Ctl::Probe
- Defined in:
- lib/msnav/ctl.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#health ⇒ Object
Returns the value of attribute health.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
29 30 31 |
# File 'lib/msnav/ctl.rb', line 29 def detail @detail end |
#health ⇒ Object
Returns the value of attribute health
29 30 31 |
# File 'lib/msnav/ctl.rb', line 29 def health @health end |
#state ⇒ Object
Returns the value of attribute state
29 30 31 |
# File 'lib/msnav/ctl.rb', line 29 def state @state end |
Instance Method Details
#pid ⇒ Object
34 35 36 |
# File 'lib/msnav/ctl.rb', line 34 def pid health && health["pid"] end |
#root ⇒ Object
30 31 32 |
# File 'lib/msnav/ctl.rb', line 30 def root health && health["root"] end |