Class: Gm::Notepad::InputProcessor

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/gm/notepad/input_processor.rb

Overview

Responsible for processing the given input into a renderable state

Instance Method Summary collapse

Instance Method Details

#convert_to_output(input:) ⇒ Object



11
12
13
14
15
# File 'lib/gm/notepad/input_processor.rb', line 11

def convert_to_output(input:)
  input = ThroughputText.new(original_text: input, table_registry: table_registry)
  build_for(input: input)
  input
end