Class: Daru::Offsets::Second
- Inherits:
-
Tick
- Object
- DateOffset
- Tick
- Daru::Offsets::Second
- Defined in:
- lib/daru/date_time/offsets.rb
Overview
Create a seconds offset
Instance Method Summary collapse
Methods inherited from Tick
#+, #-, #initialize
Methods inherited from DateOffset
#+, #-, #initialize
Constructor Details
This class inherits a constructor from Daru::Offsets::Tick
Instance Method Details
#freq_string ⇒ Object
109 110 111 |
# File 'lib/daru/date_time/offsets.rb', line 109 def freq_string (@n == 1 ? '' : @n.to_s) + 'S' end |
#multiplier ⇒ Object
105 106 107 |
# File 'lib/daru/date_time/offsets.rb', line 105 def multiplier 1.1574074074074073e-05 end |