Module: BrokenWindow
- Defined in:
- lib/broken_window.rb,
lib/broken_window/engine.rb,
lib/broken_window/version.rb,
app/models/broken_window/metric.rb,
app/services/broken_window/service.rb,
app/services/broken_window/measurer.rb,
app/models/broken_window/measurement.rb,
app/models/broken_window/metric_status.rb,
app/models/broken_window/measured_metric.rb,
app/services/broken_window/status_checker.rb,
app/services/broken_window/metric_measurer.rb,
app/helpers/broken_window/application_helper.rb,
app/services/broken_window/formatters/integer.rb,
app/controllers/broken_window/metrics_controller.rb,
app/services/broken_window/formatters/percentage.rb,
app/controllers/broken_window/application_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Formatters, Service
Classes: ApplicationController, Engine, MeasuredMetric, Measurement, Measurer, Metric, MetricMeasurer, MetricStatus, MetricsController, StatusChecker
Constant Summary
collapse
- VERSION =
"1.1.2"
Class Method Summary
collapse
Class Method Details
.calculators ⇒ Object
10
11
12
|
# File 'lib/broken_window.rb', line 10
def calculators
@calculators
end
|
.register_calculators(calculators) ⇒ Object
5
6
7
8
|
# File 'lib/broken_window.rb', line 5
def register_calculators(calculators)
@calculators ||= []
@calculators = @calculators + calculators
end
|