Sha256: ae16f8be4a0232e02bd02a3f7a8585da3750d741262367a71df11e6e208057a3

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

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