class TaborOverall

Mount Tabor Overall Series results

Public Class Methods

parent_name() click to toggle source
# File app/models/competitions/tabor_overall.rb, line 3
def TaborOverall.parent_name
  "Mt. Tabor Series"
end

Public Instance Methods

create_races() click to toggle source
# File app/models/competitions/tabor_overall.rb, line 7
def create_races
  races.create! :category => Category.find_or_create_by_name("Fixed Gear")
  races.create! :category => Category.find_or_create_by_name("Category 4 Women")
  races.create! :category => Category.find_or_create_by_name("Masters Women")
  races.create! :category => Category.find_or_create_by_name("Senior Women")
  races.create! :category => Category.find_or_create_by_name("Masters Men")
  races.create! :category => Category.find_or_create_by_name("Category 4 Men")
  races.create! :category => Category.find_or_create_by_name("Category 5 Men")
  races.create! :category => Category.find_or_create_by_name("Category 3 Men")
  races.create! :category => Category.find_or_create_by_name("Senior Men")
end
default_bar_points() click to toggle source
# File app/models/competitions/tabor_overall.rb, line 27
def default_bar_points
  1
end
double_points_for_last_event?() click to toggle source
# File app/models/competitions/tabor_overall.rb, line 23
def double_points_for_last_event?
  true
end
maximum_events() click to toggle source
# File app/models/competitions/tabor_overall.rb, line 19
def maximum_events
  5
end
point_schedule() click to toggle source
# File app/models/competitions/tabor_overall.rb, line 31
def point_schedule
  [ 0, 100, 70, 50, 40, 36, 32, 28, 24, 20, 16, 15, 14, 13, 12, 11 ]
end