Method: Coopy::CompareTable#attach

Defined in:
lib/coopy/compare_table.rb

#attach(comp) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/coopy/compare_table.rb', line 4

def attach(comp)
  @comp = comp # TableComparisonState
  more = compare_core
  while (more && @comp.run_to_completion) do
    more = compare_core
  end
  !more
end