instance method
all_quarter
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v4.0.13Available in: v3.2.22.5 v4.0.13
Signature
all_quarter()
Returns a Range representing the whole quarter of the current time.
Source
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 316
def all_quarter
beginning_of_quarter..end_of_quarter
end
Defined in activesupport/lib/active_support/core_ext/time/calculations.rb line 316
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Time