Class: Kiba::Extend::Transforms::Merge::CompareFieldsFlag Deprecated

Inherits:
Object
  • Object
show all
Defined in:
lib/kiba/extend/transforms/merge/compare_fields_flag.rb

Overview

Deprecated.

Use Compare::FieldValues instead.

Instance Method Summary collapse

Constructor Details

#initializeCompareFieldsFlag

Returns a new instance of CompareFieldsFlag.



9
10
11
12
# File 'lib/kiba/extend/transforms/merge/compare_fields_flag.rb', line 9

def initialize(...)
  warn("DEPRECATED TRANSFORM. Use Compare::FieldValues instead")
  @xform = Compare::FieldValues.new(...)
end

Instance Method Details

#process(row) ⇒ Object

Parameters:

  • row (Hash{ Symbol => String, nil })


15
16
17
# File 'lib/kiba/extend/transforms/merge/compare_fields_flag.rb', line 15

def process(row)
  xform.process(row)
end