Class RR::ScanProgressPrinters::ProgressBar
In: lib/rubyrep/scan_progress_printers/progress_bar.rb
Parent: Object

A helper class to print a text progress bar.

Methods

max_markers   new   step  

Constants

MAX_MARKERS = 25

Public Class methods

Creates a new progress bar.

  • max_steps: number of steps at completion
  • session: the current Session
  • left_table: name of the left database table
  • right_table: name of the right database table

Public Instance methods

Returns the length (in characters) of the progress bar.

Increases progress by step_increment steps.

[Validate]