Class: Capistrano::OutputCatcher::OutputChannels

Inherits:
Object
  • Object
show all
Defined in:
lib/capistrano/ext/output_catcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(out, err) ⇒ OutputChannels

Returns a new instance of OutputChannels.



38
39
40
41
# File 'lib/capistrano/ext/output_catcher.rb', line 38

def initialize(out, err)
  self.out = out
  self.err = err
end

Instance Attribute Details

#errObject

Returns the value of attribute err.



36
37
38
# File 'lib/capistrano/ext/output_catcher.rb', line 36

def err
  @err
end

#outObject

Returns the value of attribute out.



36
37
38
# File 'lib/capistrano/ext/output_catcher.rb', line 36

def out
  @out
end