Libraries
»
activesupport
(3.0.1)
»
Index (B)
»
Benchmark
Class: Benchmark
Inherits:
Object
Object
Benchmark
show all
Defined in:
lib/active_support/core_ext/benchmark.rb
Class Method Summary
collapse
.
ms
⇒ Object
Class Method Details
.
ms
⇒
Object
4 5 6
# File 'lib/active_support/core_ext/benchmark.rb', line 4
def
ms
1000
*
realtime
{
yield
}
end