Class: ReeDatetime::Thursday
- Inherits:
-
Object
- Object
- ReeDatetime::Thursday
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/thursday.rb
Instance Method Summary collapse
Instance Method Details
#call(date_time = nil) ⇒ Object
14 15 16 17 |
# File 'lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/thursday.rb', line 14 def call(date_time = nil) date_time = date_time || now days_since(monday(date_time), 3) end |