Module: Benchmarkable
- Defined in:
- lib/benchmarkable.rb
Defined Under Namespace
Modules: ClassMethods Classes: BenchmarkReport
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
permalink .included(klass) ⇒ Object
[View source]
22 23 24 |
# File 'lib/benchmarkable.rb', line 22 def self.included(klass) klass.extend(ClassMethods) end |
Instance Method Details
permalink #benchmark_report ⇒ Object
[View source]
71 72 73 |
# File 'lib/benchmarkable.rb', line 71 def benchmark_report @benchmark_report ||= BenchmarkReport.new end |