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