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