private Method

ClassMethods.write_inheritable_set(key, methods)

There's no documentation for this item.

Source Code

# File active_record/validations.rb, line 916
def write_inheritable_set(key, methods)
  existing_methods = read_inheritable_attribute(key) || []
  write_inheritable_attribute(key, existing_methods | methods)
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.