Method: Lhm::Entangler#validate
- Defined in:
- lib/lhm/entangler.rb
#validate ⇒ Object
70 71 72 73 74 75 76 77 78 |
# File 'lib/lhm/entangler.rb', line 70 def validate unless @connection.table_exists?(@origin.name) error("#{ @origin.name } does not exist") end unless @connection.table_exists?(@destination.name) error("#{ @destination.name } does not exist") end end |