Path: | lib/active_support/core_ext/class/delegating_attributes.rb |
Last Update: | Sun Nov 30 16:25:37 +0000 2008 |
These class attributes behave something like the class inheritable accessors. But instead of copying the hash over at the time the subclass is first defined, the accessors simply delegate to their superclass unless they have been given a specific value. This stops the strange situation where values set after class definition don‘t get applied to subclasses.