Class: Samovar

Inherits:
Object
  • Object
show all
Includes:
Simple::Metrics
Defined in:
README.md

Overview

Timers

Constant Summary

Constant Summary

Constants included from Simple::Metrics

Simple::Metrics::DEFAULT_DURATION_UNIT, Simple::Metrics::DEFAULT_RATE_UNIT, Simple::Metrics::DEFAULT_TIMING_UNIT, Simple::Metrics::VERSION

Instance Method Summary (collapse)

Methods included from Simple::Metrics

#metrics_registry, #new_metric_name, #sanitize_classname

Methods included from Simple::Metrics::Timer

#timer

Instance Method Details

- (Object) buh



52
53
54
55
56
# File 'README.md', line 52

def buh
  timer("tea time") do
    "Brewing..."
  end
end