method
macro
v2.0.3 -
Show latest stable
- Class:
ActiveRecord::Reflection::MacroReflection
macro()public
Returns the type of the macro, so it would return :composed_of for "composed_of :balance, :class_name => ‘Money’" or :has_many for "has_many :clients".