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