instance method
all_quarter
Ruby on Rails 5.2.8.1
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 324
def all_quarter
beginning_of_quarter..end_of_quarter
end
Defined in activesupport/lib/active_support/core_ext/date_and_time/calculations.rb line 324
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateAndTime::Calculations