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