Flowdock
method

freeze

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Date::Behavior
freeze(#:nodoc:) 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/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
Register or log in to add new notes.