Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 1 | -4/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Not using class_eval wasn't adding clarity here | wycats | 2010-04-10 | 1 | -15/+24 |
| | |||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 1 | -1/+1 |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | ||||
* | Fix class_attribute so that it works with singleton classes. | Carl Lerche | 2010-04-01 | 1 | -1/+1 |
| | |||||
* | Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵ | wycats | 2010-03-17 | 1 | -0/+3 |
| | | | | warnings are in dependencies. | ||||
* | class_attribute gets instance methods which delegate to but may override ↵ | Jeremy Kemper | 2010-03-08 | 1 | -2/+23 |
| | | | | their class values as you'd expect. Disable instance writer methods with :instance_writer => false. | ||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -5/+6 |
| | |||||
* | Introduce class_attribute to declare inheritable class attributes. Writing ↵ | Jeremy Kemper | 2010-02-01 | 1 | -0/+36 |
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. |