Class: ChildProcess::AbstractIO

Inherits:
Object
  • Object
show all
Defined in:
lib/childprocess/abstract_io.rb

Direct Known Subclasses

JRuby::IO, Unix::IO, Windows::IO

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#stderrObject

Returns the value of attribute stderr.



3
4
5
# File 'lib/childprocess/abstract_io.rb', line 3

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



3
4
5
# File 'lib/childprocess/abstract_io.rb', line 3

def stdout
  @stdout
end

Instance Method Details

#inherit!Object



5
6
7
8
# File 'lib/childprocess/abstract_io.rb', line 5

def inherit!
  @stdout = STDOUT
  @stderr = STDERR
end