Class: Chronic::ScalarHour

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

Overview

:nodoc:

Constant Summary

Constants inherited from Scalar

Chronic::Scalar::DAY_PORTIONS

Instance Attribute Summary

Attributes inherited from Tag

#type

Instance Method Summary collapse

Methods inherited from Scalar

scan

Methods inherited from Tag

#initialize, #start=

Constructor Details

This class inherits a constructor from Chronic::Tag

Instance Method Details

#to_sObject



59
60
61
# File 'lib/chronic/scalar.rb', line 59

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