Class: Chronic::ScalarSubsecond

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

Overview

:nodoc:

Constant Summary

Constants inherited from Scalar

Chronic::Scalar::DAY_PORTIONS

Instance Attribute Summary

Attributes inherited from Tag

#type, #width

Instance Method Summary collapse

Methods inherited from Scalar

scan

Methods inherited from Tag

#initialize, scan, #start=

Constructor Details

This class inherits a constructor from Chronic::Tag

Instance Method Details

#to_sObject



49
50
51
# File 'lib/chronic/tags/scalar.rb', line 49

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