Class: Aggkit::ChildProcess::AbstractIO
- Inherits:
-
Object
- Object
- Aggkit::ChildProcess::AbstractIO
- Defined in:
- lib/aggkit/childprocess/abstract_io.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdin ⇒ Object
readonly
Returns the value of attribute stdin.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
Instance Attribute Details
#stderr ⇒ Object
Returns the value of attribute stderr.
5 6 7 |
# File 'lib/aggkit/childprocess/abstract_io.rb', line 5 def stderr @stderr end |
#stdin ⇒ Object (readonly)
Returns the value of attribute stdin.
5 6 7 |
# File 'lib/aggkit/childprocess/abstract_io.rb', line 5 def stdin @stdin end |
#stdout ⇒ Object
Returns the value of attribute stdout.
5 6 7 |
# File 'lib/aggkit/childprocess/abstract_io.rb', line 5 def stdout @stdout end |
Instance Method Details
#_stdin=(io) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
26 27 28 29 |
# File 'lib/aggkit/childprocess/abstract_io.rb', line 26 def _stdin=(io) check_type io @stdin = io end |
#inherit! ⇒ Object
7 8 9 10 |
# File 'lib/aggkit/childprocess/abstract_io.rb', line 7 def inherit! @stdout = STDOUT @stderr = STDERR end |