Class: Daru::Offsets::Minute
- Inherits:
-
Tick
- Object
- DateOffset
- Tick
- Daru::Offsets::Minute
- Defined in:
- lib/daru/date_time/offsets.rb
Overview
Create a minutes 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
126 127 128 |
# File 'lib/daru/date_time/offsets.rb', line 126 def freq_string (@n == 1 ? '' : @n.to_s) + 'M' end |
#multiplier ⇒ Object
122 123 124 |
# File 'lib/daru/date_time/offsets.rb', line 122 def multiplier 0.0006944444444444445 end |