Class: Chronic::ScalarDay

Inherits:
Scalar show all
Defined in:
lib/chronic/scalar.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Tag

#type

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

#initialize, #start=

Constructor Details

This class inherits a constructor from Chronic::Tag

Instance Method Details

#to_sObject



78
79
80
# File 'lib/chronic/scalar.rb', line 78

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