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