Sha256: 6a2908f7c2f5154b2119ecbb7e68a6b2a553528543b66e061578efceef7a3093

Contents?: true

Size: 158 Bytes

Versions: 2

Compression:

Stored size: 158 Bytes

Contents

module HumanAttributes
  module Formatters
    class Date < Base
      def apply(_instance, value)
        I18n.l(value, options)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
human_attributes-0.1.1 lib/human_attributes/formatters/date.rb
human_attributes-0.1.0 lib/human_attributes/formatters/date.rb