Class: DbSchema::Operations::ColumnOperation

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

Overview

Abstract base class for single-column toggle operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ ColumnOperation

Returns a new instance of ColumnOperation.



50
51
52
# File 'lib/db_schema/operations.rb', line 50

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



48
49
50
# File 'lib/db_schema/operations.rb', line 48

def name
  @name
end