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