Method: ActiveModel::Attribute#type

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

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end