= private = protected
add()
Returns a new Tms object whose times are the sum of the times for this Tms object, plus the time required to execute the code block (blk).
# File lib/benchmark.rb, line 436 def add(&blk) # :yield: self + Benchmark.measure(&blk) end