instance method
freeze
Ruby on Rails edge
Since edgeSignature
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