method

freeze

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: Date
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
          self.class.private_instance_methods(false).each do |m|
            if m.to_s =~ /\A__\d+__\Z/
              instance_variable_set(:"@#{m}", [send(m)])
            end
          end

          super
        end
Register or log in to add new notes.