Class: R10K::Util::Subprocess::IO
- Inherits:
-
Object
- Object
- R10K::Util::Subprocess::IO
- Defined in:
- lib/r10k/util/subprocess/io.rb
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
-
#initialize ⇒ IO
constructor
A new instance of IO.
Constructor Details
#initialize ⇒ IO
Returns a new instance of IO.
8 9 10 11 |
# File 'lib/r10k/util/subprocess/io.rb', line 8 def initialize @stdout = '/dev/null' @stderr = '/dev/null' end |
Instance Attribute Details
#stderr ⇒ Object
Returns the value of attribute stderr.
6 7 8 |
# File 'lib/r10k/util/subprocess/io.rb', line 6 def stderr @stderr end |
#stdin ⇒ Object (readonly)
Returns the value of attribute stdin.
3 4 5 |
# File 'lib/r10k/util/subprocess/io.rb', line 3 def stdin @stdin end |
#stdout ⇒ Object
Returns the value of attribute stdout.
5 6 7 |
# File 'lib/r10k/util/subprocess/io.rb', line 5 def stdout @stdout end |