Exception: Purview::Exceptions::TableAlreadyAssignedForIndex
- Defined in:
- lib/purview/exceptions/table_already_assigned_for_index.rb
Instance Method Summary collapse
-
#initialize(index) ⇒ TableAlreadyAssignedForIndex
constructor
A new instance of TableAlreadyAssignedForIndex.
- #message ⇒ Object
Constructor Details
#initialize(index) ⇒ TableAlreadyAssignedForIndex
Returns a new instance of TableAlreadyAssignedForIndex.
4 5 6 |
# File 'lib/purview/exceptions/table_already_assigned_for_index.rb', line 4 def initialize(index) @index = index end |
Instance Method Details
#message ⇒ Object
8 9 10 |
# File 'lib/purview/exceptions/table_already_assigned_for_index.rb', line 8 def "Table already assigned for index on columns: #{index.table.column_names.join(', ')}" end |