Sha256: 13a410afd9a45b67428b5ff50145cc9502eeb68bacb90512b111ffa1a12189be

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

module Olson
  extend ActiveSupport::Concern

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
olson-0.0.3 lib/olson/instance_methods.rb