Class: RR::ScanRunner
- Inherits:
-
BaseRunner
- Object
- BaseRunner
- RR::ScanRunner
- Defined in:
- lib/rubyrep/scan_runner.rb
Overview
This class implements the functionality of the rrscan.rb command.
Constant Summary
Constants inherited from BaseRunner
Instance Attribute Summary
Attributes inherited from BaseRunner
#options, #report_printer_arg, #report_printer_class, #selected_progress_printer, #session
Instance Method Summary collapse
-
#create_processor(left_table, right_table) ⇒ Object
Creates the correct scan class.
-
#summary_description ⇒ Object
Returns summary description string for the scan command.
Methods inherited from BaseRunner
#add_specific_options, #execute, #prepare_table_pairs, #process_options, #progress_printer, #report_printer, run, #signal_scanning_completion, #table_pairs
Instance Method Details
#create_processor(left_table, right_table) ⇒ Object
Creates the correct scan class. Parameters as defined under BaseRunner#create_processor
19 20 21 |
# File 'lib/rubyrep/scan_runner.rb', line 19 def create_processor(left_table, right_table) TableScanHelper.scan_class(session).new session, left_table, right_table end |
#summary_description ⇒ Object
Returns summary description string for the scan command.
13 14 15 |
# File 'lib/rubyrep/scan_runner.rb', line 13 def summary_description "Scans for differences of the specified tables between both databases." end |