Class: Daru::Offsets::Second
- Inherits:
-
Tick
- Object
- DateOffset
- DateOffsetType
- Tick
- Daru::Offsets::Second
- Defined in:
- lib/daru/date_time/offsets.rb
Overview
Create a seconds offset
Constant Summary collapse
- FREQ =
'S'.freeze
Instance Method Summary collapse
Methods inherited from Tick
Methods inherited from DateOffsetType
Methods inherited from DateOffset
#+, #-, #-@, #initialize
Constructor Details
This class inherits a constructor from Daru::Offsets::DateOffsetType
Instance Method Details
#multiplier ⇒ Object
134 135 136 |
# File 'lib/daru/date_time/offsets.rb', line 134 def multiplier 1.to_r / 24 / 60 / 60 end |