Exception: Lore::Exception::Ambiguous_Attribute

Inherits:
Exception
  • Object
show all
Defined in:
lib/lore/exception/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/exception/ambiguous_attribute.rb', line 7

def initialize(table_a, table_b, attribute)
	@message = 'Ambiguous attribute: '+attribute+ ' exists in '+table_a+' and '+table_b+'. '
end