instance method
all_quarter
Ruby on Rails 8.1.2
Since v4.1.16Signature
all_quarter()
Returns a Range representing the whole quarter of the current date/time.
Source
# File activesupport/lib/active_support/core_ext/date_and_time/calculations.rb, line 326
def all_quarter
beginning_of_quarter..end_of_quarter
end
Defined in activesupport/lib/active_support/core_ext/date_and_time/calculations.rb line 326
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateAndTime::Calculations