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