Exception: Lore::Exception::Ambiguous_Attribute
- Inherits:
-
Exception
- Object
- Exception
- Lore::Exception::Ambiguous_Attribute
- Defined in:
- lib/lore/exception/ambiguous_attribute.rb
Instance Method Summary collapse
-
#initialize(table_a, table_b, attribute) ⇒ Ambiguous_Attribute
constructor
A new instance of Ambiguous_Attribute.
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 |