lib/edtf/humanize/century.rb in edtf-humanize-1.0.0 vs lib/edtf/humanize/century.rb in edtf-humanize-2.0.0

- old
+ new

@@ -1,13 +1,13 @@ +# frozen_string_literal: true + module Edtf module Humanize module Century + include Edtf::Humanize::Language - include Edtf::Humanize::Formats - def humanize - "#{self.begin.year}#{Edtf::Humanize.configuration.century_suffix}" + language_strategy::Century.humanizer(self) end - end end end