method

freeze

rails latest stable - Class: ActiveSupport::CoreExtensions::Date::Behavior

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

freeze(#:nodoc:)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/date/behavior.rb, line 28
            def freeze #:nodoc:
              self.class.private_instance_methods(false).each do |m|
                if m.to_s =~ /\A__\d+__\Z/
                  instance_variable_set("@#{m}""@#{m}", [send(m)])
                end
              end

              super
            end