Sha256: d88163b3abf754d100e12b1f07cb2aeb1b30ee9dd1b3fc8d2c1addd158b30b19

Contents?: true

Size: 212 Bytes

Versions: 3

Compression:

Stored size: 212 Bytes

Contents

module Edtf
  module Humanize
    module Century

      include Edtf::Humanize::Formats

      def humanize
        "#{self.begin.year}#{Edtf::Humanize.configuration.century_suffix}"
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
edtf-humanize-1.0.0 lib/edtf/humanize/century.rb
edtf-humanize-0.0.7 lib/edtf/humanize/century.rb
edtf-humanize-0.0.6 lib/edtf/humanize/century.rb