Module: Edtf::Humanize::Decade
- Includes:
- Formats
- Defined in:
- lib/edtf/humanize/decade.rb
Instance Method Summary collapse
Instance Method Details
#humanize ⇒ Object
7 8 9 |
# File 'lib/edtf/humanize/decade.rb', line 7 def humanize "#{self.begin.year}#{Edtf::Humanize.configuration.decade_suffix}" end |