class OVOV::Calculator::TripleJump
Constants
- POOR_PERFORMANCE
Public Instance Methods
calculate()
click to toggle source
# File lib/calculator/disciplines/triple_jump.rb, line 6 def calculate return 0 if @performance < POOR_PERFORMANCE @points = ((@performance - 2.135 ) / 0.065) * 10 end