Class: Enumerable::ConsoleProgress
- Defined in:
- lib/vex/base/enumerable/progress.rb
Constant Summary
Constants inherited from Progress
Instance Method Summary collapse
-
#initialize(base, count = nil) ⇒ ConsoleProgress
constructor
A new instance of ConsoleProgress.
Methods inherited from Progress
Constructor Details
#initialize(base, count = nil) ⇒ ConsoleProgress
Returns a new instance of ConsoleProgress.
25 26 27 28 |
# File 'lib/vex/base/enumerable/progress.rb', line 25 def initialize(base, count=nil) @start, @last = Time.now, nil super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Enumerable::Progress