Class: ReeDate::QuartersSince
- Inherits:
-
Object
- Object
- ReeDate::QuartersSince
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_date/package/ree_date/functions/quarters_since.rb
Instance Method Summary collapse
Instance Method Details
#call(date = nil, quarter_count) ⇒ Object
13 14 15 |
# File 'lib/ree_lib/packages/ree_date/package/ree_date/functions/quarters_since.rb', line 13 def call(date = nil, quarter_count) advance(date || today, quarters: +quarter_count) end |