Class: Proc
- Inherits:
-
Object
- Object
- Proc
- Defined in:
- lib/at_what_cost.rb
Instance Method Summary collapse
Instance Method Details
#at_what_cost? ⇒ Boolean
10 11 12 13 14 |
# File 'lib/at_what_cost.rb', line 10 def at_what_cost? Benchmark.bm do |x| x.report(&self) end end |