method
klass
v2.1.0 -
Show latest stable
- Class:
ActiveRecord::Reflection::MacroReflection
klass()public
Returns the class for the macro. For example, composed_of :balance, :class_name => 'Money' returns the Money class and has_many :clients returns the Client class.