Class: Chronic::OrdinalDay

Inherits:
Ordinal show all
Defined in:
lib/chronic/ordinal.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Tag

#type

Instance Method Summary collapse

Methods inherited from Ordinal

scan, scan_for_days, scan_for_ordinals

Methods inherited from Tag

#initialize, #start=

Constructor Details

This class inherits a constructor from Chronic::Tag

Instance Method Details

#to_sObject



35
36
37
# File 'lib/chronic/ordinal.rb', line 35

def to_s
  super << '-day-' << @type.to_s
end