Returns the elapsed real time used to execute the given block.
# File benchmark.rb, line 306 def realtime(&blk) # :yield: Benchmark::measure(&blk).real end
<code/>
<pre/>
<code/>and<pre/>for code samples.