Module: Olson

Extended by:
ActiveSupport::Concern
Defined in:
lib/olson/version.rb,
lib/olson/instance_methods.rb

Constant Summary collapse

VERSION =
"0.0.3"

Instance Method Summary collapse

Instance Method Details

#humanize(attribute, value = model.send(attribute), default = self.class.default_humanize(value)) ⇒ Object

See ApplicationDecorator.humanize



5
6
7
# File 'lib/olson/instance_methods.rb', line 5

def humanize(attribute, value = model.send(attribute), default = self.class.default_humanize(value))
  self.class.humanize attribute, value, default
end