Method: SharedBehaviors::InstanceMethods#apply_transform

Defined in:
lib/daily/shared_behaviors.rb

#apply_transform(table) ⇒ Object



17
18
19
20
21
# File 'lib/daily/shared_behaviors.rb', line 17

def apply_transform(table)
  return table if transform.blank?
  t = transform.constantize.new(table, transform_data)
  t.result
end