class SportDb::Package

Public Instance Methods

read_csv( start: nil ) click to toggle source

(re)open class - note: adds more machinery; see sportdb-text for first/original/base definition

# File lib/sportdb/importers.rb, line 17
def read_csv( start: nil )
  ## start - season e.g. 1993/94 to start (skip older seasons)
  ## note: assume package holds country/national (club) league
  #  use for importing german bundesliga, english premier league, etc.

   each_csv { |entry| SportDb.handle_csv( entry, start: start ) }
end