Class: Daru::Offsets::Day
- Inherits:
-
Tick
- Object
- DateOffset
- Tick
- Daru::Offsets::Day
- Defined in:
- lib/daru/date_time/offsets.rb
Overview
Create an days 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
160 161 162 |
# File 'lib/daru/date_time/offsets.rb', line 160 def freq_string (@n == 1 ? '' : @n.to_s) + 'D' end |
#multiplier ⇒ Object
156 157 158 |
# File 'lib/daru/date_time/offsets.rb', line 156 def multiplier 1.0 end |