Module: Coopy
- Defined in:
- lib/coopy.rb,
lib/coopy/bag.rb,
lib/coopy/row.rb,
lib/coopy/unit.rb,
lib/coopy/view.rb,
lib/coopy/coopy.rb,
lib/coopy/index.rb,
lib/coopy/mover.rb,
lib/coopy/table.rb,
lib/coopy/version.rb,
lib/coopy/ordering.rb,
lib/coopy/alignment.rb,
lib/coopy/cell_info.rb,
lib/coopy/csv_table.rb,
lib/coopy/index_item.rb,
lib/coopy/index_pair.rb,
lib/coopy/table_diff.rb,
lib/coopy/table_text.rb,
lib/coopy/table_view.rb,
lib/coopy/change_type.rb,
lib/coopy/cross_match.rb,
lib/coopy/diff_render.rb,
lib/coopy/simple_cell.rb,
lib/coopy/simple_view.rb,
lib/coopy/simple_table.rb,
lib/coopy/compare_flags.rb,
lib/coopy/compare_table.rb,
lib/coopy/table_comparison_state.rb
Defined Under Namespace
Modules: Bag, ChangeType, Row, Table, View
Classes: Alignment, CellInfo, CompareFlags, CompareTable, CrossMatch, CsvTable, DiffRender, Index, IndexItem, IndexPair, Mover, Ordering, SimpleCell, SimpleTable, SimpleView, TableComparisonState, TableDiff, TableText, TableView, Unit
Constant Summary
collapse
- VERSION =
"1.0.0"
Class Method Summary
collapse
Class Method Details
.compare_tables(local, remote) ⇒ Object
3
4
5
6
7
8
9
10
|
# File 'lib/coopy/coopy.rb', line 3
def self.compare_tables(local, remote)
ct = Coopy::CompareTable.new
comp = Coopy::TableComparisonState.new
comp.a = local
comp.b = remote
ct.attach comp
ct
end
|
.compare_tables_3(parent, local, remote) ⇒ Object
12
13
14
15
16
17
18
19
20
|
# File 'lib/coopy/coopy.rb', line 12
def self.compare_tables_3(parent, local, remote)
ct = Coopy::CompareTable.new
comp = Coopy::TableComparisonState.new
comp.p = parent
comp.a = local
comp.b = remote
ct.attach comp
ct
end
|