scripts/csv_parser.rb
# detect pattern coming from csv
# push value if its in a correct format
# if there no points then generate
detect pattern coming from csv
push value if its in a correct format
if there no points then generate
detect pattern coming from csv push value if its in a correct format if there no points then generate
def propagate_rounds(round)
    i = 0
    case round
      in [String, String, Integer, *]
      @@round_arr.push(round)
      in [String, Integer, Integer, *]
      @@round_arr.push(round)
      in [String, String, String, *]
      new_round = attach_points(round)
      @@round_arr.push(round)
    else
      p "no match"
    end
  end
def propagate_rounds ( round ) i = 0 case round in [ String , String , Integer , * ] @@round_arr . push ( round ) in [ String , Integer , Integer , * ] @@round_arr . push ( round ) in [ String , String , String , * ] new_round = attach_points ( round ) @@round_arr . push ( round ) else p "no match" end end
detect pattern coming from csv
push value if its in a correct format
if there no points then generate
detect pattern coming from csv push value if its in a correct format if there no points then generate
# "Question, Answer, Points" # "Question, Answer, Points - Answer is integer" # "Question, Answer, Answer"
round
<not_specific>