Class: Net::SSH::Connection::Session::StringWithExitstatus
- Inherits:
-
String
- Object
- String
- Net::SSH::Connection::Session::StringWithExitstatus
- Defined in:
- lib/net/ssh/connection/session.rb
Instance Attribute Summary collapse
-
#exitstatus ⇒ Object
readonly
Returns the value of attribute exitstatus.
Instance Method Summary collapse
-
#initialize(str, exitstatus) ⇒ StringWithExitstatus
constructor
A new instance of StringWithExitstatus.
Constructor Details
#initialize(str, exitstatus) ⇒ StringWithExitstatus
Returns a new instance of StringWithExitstatus.
351 352 353 354 |
# File 'lib/net/ssh/connection/session.rb', line 351 def initialize(str, exitstatus) super(str) @exitstatus = exitstatus end |
Instance Attribute Details
#exitstatus ⇒ Object (readonly)
Returns the value of attribute exitstatus.
356 357 358 |
# File 'lib/net/ssh/connection/session.rb', line 356 def exitstatus @exitstatus end |