public Method

Class.superclass_delegating_writer(*names)

There's no documentation for this item.

Source Code

# File active_support/core_ext/class/delegating_attributes.rb, line 27
def superclass_delegating_writer(*names)
  names.each do |name|
    class_eval "def self.\#{name}=(value)\n@\#{name} = value\nend\n"
  end
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.