Sha256: 38d93507e6196c936e2c6119505162003694bba917c8e27650c411f3c7e657eb

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

# encoding: utf-8



module SportDb
module Boot      ## note: use a different module than Config to avoid confusion with Configuration/config etc.!!!!
                 ##   maybe rename later gem itself to sportdb-boot - why? why not?

  MAJOR = 0    ## todo: namespace inside version or something - why? why not??
  MINOR = 4
  PATCH = 0
  VERSION = [MAJOR,MINOR,PATCH].join('.')

  def self.version
    VERSION
  end

  def self.banner
    "sportdb-config/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
  end

  def self.root
    File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )
  end

  def self.data_dir  ## rename to config_dir - why? why not?
    "#{root}/config"
  end


end # module Boot
end # module SportDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-config-0.4.0 lib/sportdb/config/version.rb