Method: ActiveModel::Attribute#name

Defined in:
activemodel/lib/active_model/attribute.rb

#nameObject (readonly)

Returns the value of attribute name.



29
30
31
# File 'activemodel/lib/active_model/attribute.rb', line 29

def name
  @name
end