method

copy_time_to

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Calculations
copy_time_to(other) 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 370
      def copy_time_to(other)
        other.change(hour: hour, min: min, sec: sec, nsec: try(:nsec))
      end
Register or log in to add new notes.