Class: DbSchema::Operations::CreateTable
- Inherits:
-
Object
- Object
- DbSchema::Operations::CreateTable
- Defined in:
- lib/db_schema/operations.rb
Instance Attribute Summary collapse
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(table) ⇒ CreateTable
constructor
A new instance of CreateTable.
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
#table ⇒ Object (readonly)
Returns the value of attribute table.
16 17 18 |
# File 'lib/db_schema/operations.rb', line 16 def table @table end |