Module: Normalize

Extended by:
ActiveSupport::Concern
Defined in:
lib/normalize.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#normalize_value(value, normalizer) ⇒ Object



6
7
8
# File 'lib/normalize.rb', line 6

def normalize_value(value, normalizer)
  normalizer.call(value)
end