Class: TotalIn::LineProcessors::Addresses
- Inherits:
-
WithTargetClass
- Object
- WithTargetClass
- TotalIn::LineProcessors::Addresses
- Defined in:
- lib/total_in/line_processors.rb
Instance Attribute Summary
Attributes inherited from WithTargetClass
Instance Method Summary collapse
Methods inherited from WithTargetClass
Constructor Details
This class inherits a constructor from TotalIn::LineProcessors::WithTargetClass
Instance Method Details
#call(line, contexts) ⇒ Object
99 100 101 102 103 104 105 |
# File 'lib/total_in/line_processors.rb', line 99 def call line, contexts contexts = target_class.add_to_contexts contexts contexts.current.address = line.values.join " " contexts end |