Class: ChildProcess::AbstractIO
- Inherits:
-
Object
- Object
- ChildProcess::AbstractIO
- Defined in:
- lib/childprocess/abstract_io.rb
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) stderr
Returns the value of attribute stderr.
-
- (Object) stdin
readonly
Returns the value of attribute stdin.
-
- (Object) stdout
Returns the value of attribute stdout.
Instance Method Summary (collapse)
Instance Attribute Details
- (Object) stderr
Returns the value of attribute stderr
3 4 5 |
# File 'lib/childprocess/abstract_io.rb', line 3 def stderr @stderr end |
- (Object) stdin (readonly)
Returns the value of attribute stdin
3 4 5 |
# File 'lib/childprocess/abstract_io.rb', line 3 def stdin @stdin end |
- (Object) stdout
Returns the value of attribute stdout
3 4 5 |
# File 'lib/childprocess/abstract_io.rb', line 3 def stdout @stdout end |
Instance Method Details
- (Object) _stdin=(io)
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.
24 25 26 27 |
# File 'lib/childprocess/abstract_io.rb', line 24 def _stdin=(io) check_type io @stdin = io end |
- (Object) inherit!
5 6 7 8 |
# File 'lib/childprocess/abstract_io.rb', line 5 def inherit! @stdout = STDOUT @stderr = STDERR end |