Flowdock
method

freeze

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: Date

Method deprecated or moved

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

These similar methods exist in v4.1.8:

freeze() 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/freeze.rb, line 19
        def freeze
          unless frozen?
            self.class.private_instance_methods(false).each do |m|
              if m.to_s =~ /\A__\d+__\Z/
                instance_variable_set(:"@#{m}", [send(m)])
              end
            end
          end

          super
        end
Register or log in to add new notes.