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