Class: R10K::Util::Subprocess::IO

Inherits:
Object
  • Object
show all
Defined in:
lib/r10k/util/subprocess/io.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIO

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

#stderrObject

Returns the value of attribute stderr.



6
7
8
# File 'lib/r10k/util/subprocess/io.rb', line 6

def stderr
  @stderr
end

#stdinObject (readonly)

Returns the value of attribute stdin.



3
4
5
# File 'lib/r10k/util/subprocess/io.rb', line 3

def stdin
  @stdin
end

#stdoutObject

Returns the value of attribute stdout.



5
6
7
# File 'lib/r10k/util/subprocess/io.rb', line 5

def stdout
  @stdout
end