Election results in the London Borough of Sutton.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

check-parties.rb 219 B

12345678910111213
  1. # Check whether a list of parties is in the parties table
  2. require_relative '../models'
  3. ARGF.each do |line|
  4. line.strip!
  5. print line
  6. if Party.find(line)
  7. puts " found"
  8. else
  9. puts " not found"
  10. end
  11. end