Class: ReeDatetime::AllQuarter
- Inherits:
-
Object
- Object
- ReeDatetime::AllQuarter
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/all_quarter.rb
Instance Method Summary collapse
Instance Method Details
#call(date_time = nil) ⇒ Object
17 18 19 20 |
# File 'lib/ree_lib/packages/ree_datetime/package/ree_datetime/functions/all_quarter.rb', line 17 def call(date_time = nil) date_time = date_time || now beginning_of_quarter(date_time)..end_of_quarter(date_time) end |