Class: Magma::Preparer
- Inherits:
-
Object
- Object
- Magma::Preparer
- Defined in:
- lib/magma/preparer.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(infile, options = {}) ⇒ Preparer
constructor
A new instance of Preparer.
Methods included from Utils
#pipe, #read_file_or_stdin, #run, #symbolize_keys, #uuid?, #which
Methods included from Common
Constructor Details
#initialize(infile, options = {}) ⇒ Preparer
Returns a new instance of Preparer.
11 12 13 14 |
# File 'lib/magma/preparer.rb', line 11 def initialize(infile, = {}) @infile = infile @options = end |
Instance Method Details
#call ⇒ Object
16 17 18 19 20 |
# File 'lib/magma/preparer.rb', line 16 def call handle_output! xml, .merge(infile: infile) xml end |