method
freeze
v8.1.1 -
Show latest stable
- Class:
ActiveModel::Attributes
freeze()public
No documentation available.
# File activemodel/lib/active_model/attributes.rb, line 150
def freeze # :nodoc:
@attributes = @attributes.clone.freeze unless frozen?
super
end