Exception: Lore::Exceptions::Ambiguous_Attribute
- Defined in:
- lib/lore/exceptions/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/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 |