Sha256: 357dffdbe2a3f5eea25e1555f34db96b8e5ac7d568f1b62277e499d61b2dd01e

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 = 1
  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.1 lib/sportdb/config/version.rb