Class: Console::Logger
- Inherits:
-
Object
- Object
- Console::Logger
- Defined in:
- lib/console/logger.rb
Constant Summary collapse
- DEFAULT_LEVEL =
1
Instance Method Summary collapse
-
#initialize(output, **options) ⇒ Logger
constructor
A new instance of Logger.
- #measure(subject, total) ⇒ Object
Constructor Details
#initialize(output, **options) ⇒ Logger
Returns a new instance of Logger.
28 29 30 |
# File 'lib/console/logger.rb', line 28 def initialize(output, **) super(output, **) end |
Instance Method Details
#measure(subject, total) ⇒ Object
32 33 34 |
# File 'lib/console/logger.rb', line 32 def measure(subject, total) Measure.new(self, subject, total) end |