Class: TotalIn::LineProcessors::Names
- Inherits:
-
WithTargetClass
- Object
- WithTargetClass
- TotalIn::LineProcessors::Names
- 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
88 89 90 91 92 93 94 |
# File 'lib/total_in/line_processors.rb', line 88 def call line, contexts contexts = target_class.add_to_contexts contexts contexts.current.name = line.values.join " " contexts end |