Module: EacCli::RunnerWith::OutputFile
- Defined in:
- lib/eac_cli/runner_with/output_file.rb
Instance Method Summary collapse
Instance Method Details
#run_output ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/eac_cli/runner_with/output_file.rb', line 17 def run_output if parsed.output_file.present? ::File.write(parsed.output_file, output_content) else out output_content end end |