Class: Chronic::ScalarYear
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Tag
Instance Method Summary collapse
Methods inherited from Scalar
scan, scan_for_days, scan_for_months, scan_for_scalars, scan_for_years
Methods inherited from Tag
Constructor Details
This class inherits a constructor from Chronic::Tag
Instance Method Details
#to_s ⇒ Object
71 72 73 |
# File 'lib/chronic/scalar.rb', line 71 def to_s super << '-year-' << @type.to_s end |