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, sep: nil, delim: nil, prepend_source_field_name: false, delete_sources: false) ⇒ FullRecord
constructor
A new instance of FullRecord.
Methods inherited from FromFieldsWithDelimiter
Methods included from SepDeprecatable
Constructor Details
#initialize(target: :index, sep: nil, delim: nil, prepend_source_field_name: false, delete_sources: false) ⇒ FullRecord
Returns a new instance of FullRecord.
89 90 91 92 93 |
# File 'lib/kiba/extend/transforms/combine_values/full_record.rb', line 89 def initialize(target: :index, sep: nil, delim: nil, prepend_source_field_name: false, delete_sources: false) super end |