Class: ReeDatetime::EndOfYear
- Inherits:
-
Object
- Object
- ReeDatetime::EndOfYear
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/end_of_year.rb
Instance Method Summary collapse
Instance Method Details
#call(date_time = nil) ⇒ Object
20 21 22 |
# File 'lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/end_of_year.rb', line 20 def call(date_time = nil) end_of_day(end_of_year(date_time || now).to_datetime) end |