method
write_inheritable_hash
rails latest stable - Class:
Class
write_inheritable_hash(key, hash)public
No documentation available.
# File activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb, line 144
def write_inheritable_hash(key, hash)
write_inheritable_attribute(key, {}) if read_inheritable_attribute(key).nil?
write_inheritable_attribute(key, read_inheritable_attribute(key).merge(hash))
end