Class: Koality::Reporter::Base
- Inherits:
-
Object
- Object
- Koality::Reporter::Base
- Defined in:
- lib/koality/reporter/base.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.start(&block) ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/koality/reporter/base.rb', line 13 def self.start(&block) reporter = new time = Benchmark.measure do yield reporter end puts "-- #{'%0.3f' % time.real}s\n\n" end |