instance method
all_day
Ruby on Rails 4.1.16
Since v3.2.22.5 Last seen in v4.2.9Signature
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 200
def all_day
beginning_of_day..end_of_day
end
Defined in activesupport/lib/active_support/core_ext/time/calculations.rb line 200
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Time