method

freeze

Importance_0
v3.2.13 - 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
          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.