Exception: PTY::ChildExited
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- PTY::ChildExited
- Defined in:
- lib/subspawn/replace-pty.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ ChildExited
constructor
A new instance of ChildExited.
Constructor Details
#initialize(status) ⇒ ChildExited
Returns a new instance of ChildExited.
8 9 10 |
# File 'lib/subspawn/replace-pty.rb', line 8 def initialize(status) @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/subspawn/replace-pty.rb', line 11 def status @status end |