method

first_hour

Importance_0
first_hour() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/date_and_time/calculations.rb, line 218
    def first_hour
      result = yield
      acts_like?(:time) ? result.change(:hour => 0) : result
    end
Register or log in to add new notes.