method
materialize
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::LazyAttributeHash
materialize()protected
No documentation available.
# File activerecord/lib/active_record/attribute_set/builder.rb, line 81
def materialize
unless @materialized
values.each_key { |key| self[key] }
types.each_key { |key| self[key] }
unless frozen?
@materialized = true
end
end
delegate_hash
end