class SportDb::Import::Configuration

Attributes

catalog[RW]

todo: allow configure of countries_dir like clubs_dir

"fallback" and use a default built-in world/countries.txt
lang[R]

Public Instance Methods

lang=(value) click to toggle source
# File lib/sportdb/structs/config.rb, line 12
def lang=(value)
  ## check/todo: always use to_sym - why? needed?
  DateFormats.lang  = value
  ScoreFormats.lang = value
  SportDb.lang.lang = value

  ## todo/fix:  change SportDb.lang to SportDb.parser.lang or lang_parser or utils or someting !!!!
  ##   use Sport.lang only as a read-only shortcut a la catalog for config.lang!!!!
end