Flowdock
method

included

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveSupport::CoreExtensions::DateTime::Calculations
included(base) public

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_time/calculations.rb, line 8
        def self.included(base) #:nodoc:
          base.extend ClassMethods

          base.class_eval do
            alias_method :compare_without_coercion, :<=>
            alias_method :<=>, :compare_with_coercion
          end
        end
Register or log in to add new notes.