Class: Kiba::Extend::Transforms::CombineValues::FullRecord
- Inherits:
-
FromFieldsWithDelimiter
- Object
- FromFieldsWithDelimiter
- Kiba::Extend::Transforms::CombineValues::FullRecord
- Defined in:
- lib/kiba/extend/transforms/combine_values/full_record.rb
Overview
Concatenates values of all fields in each record together into the target field, using the given string as value separator in the combined value
NOTE: Run with defaults, behaves the same as FromFieldsWithDelimiter except FullRecord retains source fields.
Instance Method Summary collapse
-
#initialize(target: :index, delim: " ", prepend_source_field_name: false, delete_sources: false) ⇒ FullRecord
constructor
A new instance of FullRecord.
Methods inherited from FromFieldsWithDelimiter
Constructor Details
#initialize(target: :index, delim: " ", prepend_source_field_name: false, delete_sources: false) ⇒ FullRecord
Returns a new instance of FullRecord.
87 88 89 90 91 |
# File 'lib/kiba/extend/transforms/combine_values/full_record.rb', line 87 def initialize(target: :index, delim: " ", prepend_source_field_name: false, delete_sources: false) super end |