method
macro
v2.2.1 -
Show latest stable
- Class:
ActiveRecord::Reflection::MacroReflection
macro()public
Returns the macro type. For example, composed_of :balance, :class_name => 'Money' will return :composed_of or for has_many :clients will return :has_many.