Class: BenchmarkInterface::BenchmarkContext

Inherits:
Object
  • Object
show all
Defined in:
lib/benchmark-interface/frontends/benchmark.rb

Instance Method Summary collapse

Instance Method Details

#report(name = nil, &block) ⇒ Object



13
14
15
# File 'lib/benchmark-interface/frontends/benchmark.rb', line 13

def report(name=nil, &block)
  BenchmarkInterface.benchmark name, &block
end