Class: Gm::Notepad::LineEvaluator
- Inherits:
-
Object
- Object
- Gm::Notepad::LineEvaluator
- Extended by:
- Dry::Initializer
- Defined in:
- lib/gm/notepad/line_evaluator.rb
Overview
Responsible for recording entries and then dumping them accordingly.
Instance Method Summary collapse
Instance Method Details
#call(line:, expand_line: true) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/gm/notepad/line_evaluator.rb', line 15 def call(line:, expand_line: true) input = ThroughputText.new(original_text: line, table_registry: table_registry) return input unless parse(input: input) input end |