Sha256: 963a71d1663a7e78098d3f5073ab5716f934a5139a24cdb237fedec35b7aadc1

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

module Edtf
  module Humanize
    module Decade

      include Edtf::Humanize::Formats

      def humanize
        "#{self.begin.year}#{Edtf::Humanize.configuration.decade_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/decade.rb
edtf-humanize-0.0.7 lib/edtf/humanize/decade.rb
edtf-humanize-0.0.6 lib/edtf/humanize/decade.rb