Flowdock
method

first_hour

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Calculations
first_hour(date_or_time) 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 348
      def first_hour(date_or_time)
        date_or_time.acts_like?(:time) ? date_or_time.beginning_of_day : date_or_time
      end
Register or log in to add new notes.