Class: ISO8601::Seconds
Overview
The Seconds atom in a Duration
The second is the base unit of measurement of time in the International System of Units (SI) as defined by the International Committee of Weights and Measures.
Instance Attribute Summary
Attributes inherited from Atom
Instance Method Summary collapse
-
#factor ⇒ Object
The Second factor.
-
#symbol ⇒ Symbol
The atom symbol.
Methods inherited from Atom
#==, #eql?, #hash, #initialize, #to_f, #to_i, #to_s, #to_seconds, #value
Constructor Details
This class inherits a constructor from ISO8601::Atom
Instance Method Details
#factor ⇒ Object
The Second factor
265 266 267 |
# File 'lib/iso8601/atoms.rb', line 265 def factor 1 end |
#symbol ⇒ Symbol
The atom symbol.
272 273 274 |
# File 'lib/iso8601/atoms.rb', line 272 def symbol :S end |