public Method

Class.write_inheritable_hash(key, hash)

There's no documentation for this item.

Source Code

# File active_support/core_ext/class/inheritable_attributes.rb, line 111
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.