instance method all_month

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v4.0.13

Available 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 311
  def all_month
    beginning_of_month..end_of_month
  end

Defined in activesupport/lib/active_support/core_ext/time/calculations.rb line 311 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Time

Type at least 2 characters to search.

↑↓ navigate · open · esc close