Sha256: e6b3c35b6227b365f40ac1c622186edc1c40bf6f4fa76211ac5eb2e50c37b7d0
Contents?: true
Size: 1.02 KB
Versions: 29
Compression:
Stored size: 1.02 KB
Contents
# encoding: utf-8 ### todo/fix: move to sportdb-data gem/plugin/addon ?? ### fix: rename to ::Key (singular) - why? why not?? module SportDb module EventKeys # use constants for known keys; lets us define aliases (if things change) AT_2011_12 = 'at.2011/12' AT_2012_13 = 'at.2012/13' AT_2013_14 = 'at.2013/14' AT_CUP_2012_13 = 'at.cup.2012/13' AT_CUP_2013_14 = 'at.cup.2013/14' CL_2012_13 = 'cl.2012/13' CL_2013_14 = 'cl.2013/14' EURO_2008 = 'euro.2008' EURO_2012 = 'euro.2012' WORLD_2010 = 'world.2010' WORLD_2014 = 'world.2014' WORLD_QUALI_EUROPE_2014 = 'world.quali.europe.2014' WORLD_QUALI_AMERICA_2014 = 'world.quali.america.2014' ################################################################## # NB: see github/openfootball (leagues.txt) for keys in use end # module EventKeys module Keys ## all keys - used by anybody? really needed? check back later include EventKeys end end # module SportDb
Version data entries
29 entries across 29 versions & 1 rubygems