diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-31 18:13:56 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-01 02:02:41 -0800 |
commit | 8ae25a8e41168801590fdb95891cc5990b4db21c (patch) | |
tree | de2e639915fa8717dd96d37c6b6997cbf7c6771e /railties/lib/rails/generators | |
parent | 209235165266ff39f2d14d02b497d7d703788104 (diff) | |
download | rails-8ae25a8e41168801590fdb95891cc5990b4db21c.tar.gz rails-8ae25a8e41168801590fdb95891cc5990b4db21c.tar.bz2 rails-8ae25a8e41168801590fdb95891cc5990b4db21c.zip |
Introduce class_attribute to declare inheritable class attributes. Writing an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute.
Diffstat (limited to 'railties/lib/rails/generators')
0 files changed, 0 insertions, 0 deletions