Class: DbSchema::Operations::CreateTable

Inherits:
Object
  • Object
show all
Defined in:
lib/db_schema/operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table) ⇒ CreateTable

Returns a new instance of CreateTable.



18
19
20
# File 'lib/db_schema/operations.rb', line 18

def initialize(table)
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



16
17
18
# File 'lib/db_schema/operations.rb', line 16

def table
  @table
end