Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add option to omit creating an instance reader method on class_attribute | James Miller | 2011-06-18 | 1 | -0/+6 |
| | |||||
* | Class Attribute setter returns set value | Peter Wagenet | 2010-08-16 | 1 | -0/+5 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Fix class_attribute so that it works with singleton classes. | Carl Lerche | 2010-04-01 | 1 | -0/+6 |
| | |||||
* | class_attribute gets instance methods which delegate to but may override ↵ | Jeremy Kemper | 2010-03-08 | 1 | -10/+25 |
| | | | | their class values as you'd expect. Disable instance writer methods with :instance_writer => false. | ||||
* | Introduce class_attribute to declare inheritable class attributes. Writing ↵ | Jeremy Kemper | 2010-02-01 | 1 | -0/+47 |
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. |