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

.included(klass) ⇒ Object



22
23
24
# File 'lib/benchmarkable.rb', line 22

def self.included(klass)
  klass.extend(ClassMethods)
end

Instance Method Details

#benchmark_reportObject



71
72
73
# File 'lib/benchmarkable.rb', line 71

def benchmark_report
  @benchmark_report ||= BenchmarkReport.new
end