Class: Second
- Defined in:
- lib/duration/time_units/second.rb
Constant Summary
Constants inherited from Duration
Duration::MULTIPLES, Duration::UNITS, Duration::VERSION
Instance Attribute Summary
Attributes inherited from Duration
#days, #hours, #minutes, #months, #seconds, #total, #weeks, #years
Instance Method Summary collapse
-
#initialize ⇒ Second
constructor
A new instance of Second.
Methods inherited from Duration
#%, #*, #+, #-, #/, #<=>, #blank?, #format, #iso8601, #present?
Constructor Details
#initialize ⇒ Second
Returns a new instance of Second.
8 9 10 |
# File 'lib/duration/time_units/second.rb', line 8 def initialize super(1) end |