Class: Apdex::Calculate
- Inherits:
-
Object
- Object
- Apdex::Calculate
- Defined in:
- lib/apdex/calculate.rb
Instance Method Summary collapse
Instance Method Details
#call(threshold, times) ⇒ Object
3 4 5 6 7 |
# File 'lib/apdex/calculate.rb', line 3 def call(threshold, times) output = categorize_times(threshold, times) output[:score] = calculate_apdex(output) output end |