Method: Capistrano::OutputCatcher::Base#capture_output
- Defined in:
- lib/capistrano/ext/output_catcher.rb
#capture_output(out = StringIO.new, err = nil) ⇒ Object
47 48 49 50 51 |
# File 'lib/capistrano/ext/output_catcher.rb', line 47 def capture_output(out = StringIO.new, err = nil) create_capture_channels(out, err) reroute_original_channels override_output_channels(out, err) end |