Class: LoudShellRunner

Inherits:
ShellRunner show all
Defined in:
lib/sfb_scripts/shells/loud_shell_runner.rb

Direct Known Subclasses

VerboseShellRunner

Constant Summary

Constants inherited from ShellRunner

ShellRunner::CommandFailureError

Instance Attribute Summary

Attributes inherited from ShellRunner

#log_path, #working_directory

Instance Method Summary collapse

Methods inherited from ShellRunner

#confirm?, #deny?, #enqueue, #exec, #exec_queue, #get_number_list_for_question, #initialize, #log, #notify, #reset_log, #run, #shell_out, #warn

Constructor Details

This class inherits a constructor from ShellRunner

Instance Method Details

#handle_output_for(cmd) ⇒ Object



3
4
5
6
# File 'lib/sfb_scripts/shells/loud_shell_runner.rb', line 3

def handle_output_for(cmd)
  puts cmd
  log(cmd)
end