Class: AsciiDataTools::Controller::CatController
- Inherits:
-
AbstractController
- Object
- AbstractController
- AsciiDataTools::Controller::CatController
- Defined in:
- lib/ascii-data-tools/controller.rb
Instance Method Summary collapse
Methods inherited from AbstractController
Constructor Details
This class inherits a constructor from AsciiDataTools::Controller::AbstractController
Instance Method Details
#run ⇒ Object
39 40 41 42 43 |
# File 'lib/ascii-data-tools/controller.rb', line 39 def run formatting_filter = Filter::FormattingFilter.new(input_source.filename, type_determiner) formatting_filter << input_source formatting_filter.write(@configuration.output_stream) end |