Class: DbSchema::Operations::CreateIndex
- Inherits:
-
Object
- Object
- DbSchema::Operations::CreateIndex
- Defined in:
- lib/db_schema/operations.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
-
#initialize(index) ⇒ CreateIndex
constructor
A new instance of CreateIndex.
Constructor Details
#initialize(index) ⇒ CreateIndex
Returns a new instance of CreateIndex.
124 125 126 |
# File 'lib/db_schema/operations.rb', line 124 def initialize(index) @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
122 123 124 |
# File 'lib/db_schema/operations.rb', line 122 def index @index end |