app/strategies/relay_swimmer_updater.rb
# Returns +true+ if the row has any actual changes when compared to the parameters;
# false otherwise.
#
Returns +true+ if the row has any actual changes when compared to the parameters;
false otherwise.
Returns + true + if the row has any actual changes when compared to the parameters ; false otherwise .
def is_an_actual_update_of( mrs, swimmer_id, badge_id, timing, reaction_time )
    ( timing.instance_of?(Timing) && mrs.get_timing_instance.to_hundreds != timing.to_hundreds ) ||
    ( reaction_time.instance_of?(Timing) && mrs.reaction_time.to_f != reaction_time.to_hundreds / 100.0 ) ||
    ( mrs.swimmer_id != swimmer_id.to_i ) ||
    ( mrs.badge_id != badge_id.to_i )
  end
def is_an_actual_update_of ( mrs , swimmer_id , badge_id , timing , reaction_time ) ( timing . instance_of? ( Timing ) && mrs . get_timing_instance . to_hundreds != timing . to_hundreds ) || ( reaction_time . instance_of? ( Timing ) && mrs . reaction_time . to_f != reaction_time . to_hundreds / 100.0 ) || ( mrs . swimmer_id != swimmer_id . to_i ) || ( mrs . badge_id != badge_id . to_i ) end
Returns +true+ if the row has any actual changes when compared to the parameters;
false otherwise.
Returns + true + if the row has any actual changes when compared to the parameters ; false otherwise .
mrs
<not_specific>
swimmer_id
<not_specific>
badge_id
<not_specific>
timing
<not_specific>
reaction_time
<not_specific>