Method: Rex::Ui::ProgressTracker#step
- Defined in:
- lib/rex/ui/progress_tracker.rb
#step(status = nil, n = 1) ⇒ Object
Steps with a given message and step size.
41 42 43 44 45 46 47 |
# File 'lib/rex/ui/progress_tracker.rb', line 41 def step(status = nil, n = 1) self.pos += n if (self.pos + n <= self.stop) step_status(status) self.pos end |