Class/Module Index [+]

Quicksearch

RR::SyncRunner

This class implements the functionality of the rrsync.rb command.

Public Instance Methods

create_processor(left_table, right_table) click to toggle source

Creates the correct scan class. Parameters as defined under BaseRunner#create_processor

# File lib/rubyrep/sync_runner.rb, line 19
def create_processor(left_table, right_table)
  TableSync.new session, left_table, right_table
end
prepare_table_pairs(table_pairs) click to toggle source

Reorders the table pairs to avoid foreign key conflicts. More information on this methods at BaseRunner#prepare_table_pairs.

# File lib/rubyrep/sync_runner.rb, line 25
def prepare_table_pairs(table_pairs)
  session.sort_table_pairs(table_pairs)
end
summary_description() click to toggle source

Returns summary description string for the scan command.

# File lib/rubyrep/sync_runner.rb, line 13
def summary_description
  "Syncs the differences of the specified tables between both databases."
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.