Method: ActiveModel::Attributes#freeze

Defined in:
activemodel/lib/active_model/attributes.rb

#freezeObject

: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