method
freeze
v7.2.3 -
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