instance method freeze

Ruby on Rails edge

Since edge

Signature

freeze()

No documentation comment.

Source
# File activesupport/lib/active_support/ordered_options.rb, line 103
    def freeze
      return self if frozen?

      @own_keys = own_keys.dup.freeze
      self.default_proc = nil
      @parent.freeze
      replace(to_h)
      super
    end

Defined in activesupport/lib/active_support/ordered_options.rb line 103 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::InheritableOptions

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close