Class: ISO8601::Minutes
Overview
The Minutes atom in a Duration
Instance Attribute Summary
Attributes inherited from Atom
Instance Method Summary collapse
-
#factor ⇒ Object
The Minute 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 Minute factor
245 246 247 |
# File 'lib/iso8601/atoms.rb', line 245 def factor 60 end |
#symbol ⇒ Symbol
The atom symbol.
252 253 254 |
# File 'lib/iso8601/atoms.rb', line 252 def symbol :M end |