Class: AsciiDataTools::Controller::NormalisationController

Inherits:
AbstractController show all
Defined in:
lib/ascii-data-tools/controller.rb

Instance Method Summary collapse

Methods inherited from AbstractController

#initialize, #type_determiner

Constructor Details

This class inherits a constructor from AsciiDataTools::Controller::AbstractController

Instance Method Details

#runObject



81
82
83
84
85
# File 'lib/ascii-data-tools/controller.rb', line 81

def run
  normalising_filter = Filter::NormalisingFilter.new(input_source.filename, type_determiner)
  normalising_filter << input_source
  normalising_filter.write(@configuration.output_stream)
end