Sha256: dff678ead592d9f05f114421f6130f99664b78b82b950830a3f31803574179e4

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 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-0.0.5 lib/edtf/humanize/decade.rb
edtf-humanize-0.0.4 lib/edtf/humanize/decade.rb
edtf-humanize-0.0.3 lib/edtf/humanize/decade.rb