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