class TableStructure::Schema::Definition::Columns::Error

Attributes

definition_index[R]
schema_name[R]

Public Class Methods

new(error_message, schema_name, definition_index) click to toggle source
Calls superclass method
# File lib/table_structure/schema/definition/columns/error.rb, line 10
def initialize(error_message, schema_name, definition_index)
  @schema_name = schema_name
  @definition_index = definition_index
  super("#{error_message} [#{schema_name}] defined position of column(s): #{definition_index + 1}")
end