module FootballDb
add backwards compatible n convenience namespace
move to forward.rb ?? - why? why not??
Constants
- Models
- VERSION
Public Class Methods
create()
click to toggle source
# File lib/footballdb.rb, line 42 def self.create CreateDb.new.up ## ConfDb::Model::Prop.create!( key: 'db.schema.football.version', value: VERSION ) end
root()
click to toggle source
# File lib/footballdb.rb, line 34 def self.root "#{File.expand_path( File.dirname(File.dirname(__FILE__)) )}" end
test_data_path()
click to toggle source
# File lib/footballdb.rb, line 38 def self.test_data_path "#{root}/test/data" end