app/strategies/swimmer_training_pace_calculator.rb
# Calculate training paces for various test types
# TODO Should use entity for test types and parameters 
#
Calculate training paces for various test types
TODO Should use entity for test types and parameters
Calculate training paces for various test types TODO Should use entity for test types and parameters
def calculate_paces
    case @test_type
    when '2000'
      @calculated_swimmer_paces = calculate_paces_2000
    end
    @base_pace        
  end
def calculate_paces case @test_type when '2000' @calculated_swimmer_paces = calculate_paces_2000 end @base_pace end
Calculate training paces for various test types
TODO Should use entity for test types and parameters
Calculate training paces for various test types TODO Should use entity for test types and parameters