Class: FakePOpen::Status
- Inherits:
-
Struct
- Object
- Struct
- FakePOpen::Status
- Defined in:
- lib/ssh_test.rb
Instance Attribute Summary collapse
-
#exitstatus ⇒ Object
Returns the value of attribute exitstatus.
Instance Method Summary collapse
Instance Attribute Details
#exitstatus ⇒ Object
Returns the value of attribute exitstatus
26 27 28 |
# File 'lib/ssh_test.rb', line 26 def exitstatus @exitstatus end |
Instance Method Details
#success? ⇒ Boolean
27 |
# File 'lib/ssh_test.rb', line 27 def success?() exitstatus == 0 end |