Class: Skmz::Column

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/skmz/column.rb', line 4

def name
  @name
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/skmz/column.rb', line 4

def type
  @type
end