Class: Rigrate::Column

Inherits:
Struct
  • Object
show all
Defined in:
lib/rigrate/interface/driver.rb

Overview

defination for column include name and type column name is a string

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/rigrate/interface/driver.rb', line 6

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/rigrate/interface/driver.rb', line 6

def type
  @type
end