Method: Coopy::Coopy.compare_tables

Defined in:
lib/lib/coopy/coopy.rb

.compare_tables(local, remote, flags = nil) ⇒ Object



945
946
947
948
949
950
951
952
# File 'lib/lib/coopy/coopy.rb', line 945

def Coopy.compare_tables(local,remote,flags = nil)
  comp = ::Coopy::TableComparisonState.new
  comp.a = ::Coopy::Coopy.tablify(local)
  comp.b = ::Coopy::Coopy.tablify(remote)
  comp.compare_flags = flags
  ct = ::Coopy::CompareTable.new(comp)
  ct
end