Class: Capistrano::OutputCatcher::OutputChannels
- Inherits:
-
Object
- Object
- Capistrano::OutputCatcher::OutputChannels
- Defined in:
- lib/capistrano/ext/output_catcher.rb
Instance Attribute Summary collapse
-
#err ⇒ Object
Returns the value of attribute err.
-
#out ⇒ Object
Returns the value of attribute out.
Instance Method Summary collapse
-
#initialize(out, err) ⇒ OutputChannels
constructor
A new instance of OutputChannels.
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
#err ⇒ Object
Returns the value of attribute err.
36 37 38 |
# File 'lib/capistrano/ext/output_catcher.rb', line 36 def err @err end |
#out ⇒ Object
Returns the value of attribute out.
36 37 38 |
# File 'lib/capistrano/ext/output_catcher.rb', line 36 def out @out end |