Method: ActiveModel::Attributes#freeze
- Defined in:
- activemodel/lib/active_model/attributes.rb
#freeze ⇒ Object
:nodoc:
150 151 152 153 |
# File 'activemodel/lib/active_model/attributes.rb', line 150 def freeze # :nodoc: @attributes = @attributes.clone.freeze unless frozen? super end |