Exception: Lore::Exceptions::Ambiguous_Attribute

Inherits:
Exception
  • Object
show all
Defined in:
lib/lore/exceptions/ambiguous_attribute.rb

Instance Method Summary collapse

Constructor Details

#initialize(table_a, table_b, attribute) ⇒ Ambiguous_Attribute

Returns a new instance of Ambiguous_Attribute.



7
8
9
# File 'lib/lore/exceptions/ambiguous_attribute.rb', line 7

def initialize(table_a, table_b, attribute)
	@message = "Ambiguous attribute: #{attribute.inspect} exists in #{table_a} and #{table_b}. "
end