Class: Skmz::Column
- Inherits:
-
Object
- Object
- Skmz::Column
- Includes:
- ActiveModel::Model
- Defined in:
- lib/skmz/column.rb
Constant Summary collapse
- TYPES =
[:string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean]
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/skmz/column.rb', line 4 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/skmz/column.rb', line 4 def type @type end |