app/strategies/swimmer_training_pace_calculator.rb
# Calculate pace from base pace dividing for the given rate
# Returns calculated timing for requested pace
#
Calculate pace from base pace dividing for the given rate
Returns calculated timing for requested pace
Calculate pace from base pace dividing for the given rate Returns calculated timing for requested pace
def compute_pace_timing( rate = 1, moltiplicator = 1 )
    pace = (@base_pace.to_hundreds / rate).to_i
    calculated_timing = Timing.new( pace * moltiplicator )
    calculated_timing
  end
def compute_pace_timing ( rate = 1 , moltiplicator = 1 ) pace = ( @base_pace . to_hundreds / rate ) . to_i calculated_timing = Timing . new ( pace * moltiplicator ) calculated_timing end
Calculate pace from base pace dividing for the given rate
Returns calculated timing for requested pace
Calculate pace from base pace dividing for the given rate Returns calculated timing for requested pace
rate
<not_specific>
moltiplicator
<not_specific>