instance method all_day

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v4.2.9

Available in: v3.2.22.5 v4.0.13 v4.1.16 v4.2.9

Signature

all_day()

Returns a Range representing the whole day of the current time.

Source
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 301
  def all_day
    beginning_of_day..end_of_day
  end

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

Defined in Time

Type at least 2 characters to search.

↑↓ navigate · open · esc close