Class: DbSchema::Changes::ColumnOperation

Inherits:
Object
  • Object
show all
Defined in:
lib/db_schema/changes.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.



281
282
283
# File 'lib/db_schema/changes.rb', line 281

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



279
280
281
# File 'lib/db_schema/changes.rb', line 279

def name
  @name
end