Module

Reflection

There's no documentation for this item.

Modules
ClassMethods Reflection allows you to interrogate Active Record classes and objects about their associations and aggregations. This information can, for example, be used in a form builder that took an Active Record object and created input fields for all of the attributes depending on their type and displayed the associations to other objects.
Classes
AggregateReflection Holds all the meta-data about an aggregation as it was specified in the Active Record class.
AssociationReflection Holds all the meta-data about an association as it was specified in the Active Record class.
MacroReflection Abstract base class for AggregateReflection and AssociationReflection that describes the interface available for both of those classes. Objects of AggregateReflection and AssociationReflection are returned by the Reflection::ClassMethods.
Public Methods
included
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.