Module: Transmuter::CLI::Transmute::InstanceMethods
- Defined in:
- lib/transmuter/cli/transmute.rb
Instance Method Summary collapse
Instance Method Details
#transmute ⇒ Object
20 21 22 23 24 |
# File 'lib/transmuter/cli/transmute.rb', line 20 def transmute transmute! rescue Exception => e handle_error(e) end |
#transmute! ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/transmuter/cli/transmute.rb', line 9 def transmute! set_klasses! set_methods verify_klasses! source_klass_instance = @source_klass.new(read_input_file, ) output = source_klass_instance.send(@source_transform_method) write_output_file(output) end |