method
klass
v1.1.6 -
Show latest stable
- Class:
ActiveRecord::Reflection::MacroReflection
klass()public
Returns the class for the macro, so "composed_of :balance, :class_name => ‘Money’" would return the Money class and "has_many :clients" would return the Client class.