Module: Magma::Common
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/magma/common.rb
Instance Method Summary collapse
Instance Method Details
#handle_output!(output, options) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/magma/common.rb', line 13 def handle_output!(output, ) output!(output) if [:print] overwrite!([:infile], output) if [:overwrite] save!([:outfile], output) if [:outfile] output end |