Class: Chronic::OrdinalYear
- Defined in:
- lib/chronic/ordinal.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Tag
Instance Method Summary collapse
Methods inherited from Ordinal
Methods inherited from Tag
Constructor Details
This class inherits a constructor from Chronic::Tag
Instance Method Details
#to_s ⇒ Object
44 45 46 |
# File 'lib/chronic/ordinal.rb', line 44 def to_s super << '-year-' << @type.to_s end |