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