Exception: Purview::Exceptions::TableAlreadyAssignedForColumn

Inherits:
Base
  • Object
show all
Defined in:
lib/purview/exceptions/table_already_assigned_for_column.rb

Instance Method Summary collapse

Constructor Details

#initialize(column) ⇒ TableAlreadyAssignedForColumn

Returns a new instance of TableAlreadyAssignedForColumn.



4
5
6
# File 'lib/purview/exceptions/table_already_assigned_for_column.rb', line 4

def initialize(column)
  @column = column
end

Instance Method Details

#messageObject



8
9
10
# File 'lib/purview/exceptions/table_already_assigned_for_column.rb', line 8

def message
  "Table already assigned for column: #{column.name}"
end