Method: Summon::Benchmark#output
- Defined in:
- lib/summon/benchmark.rb
#output(to = $stdout) ⇒ Object
17 18 19 20 |
# File 'lib/summon/benchmark.rb', line 17 def output(to = $stdout) to.printf("%20s %s\n", "","real time") to.puts(@timings.map {|t| t.format("%-20n: %r")}) end |