Sha256: 172e40f28191a1856d48a3633ccecc8490323e784b7746c1ccf578cbc8fff77d

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

module SportDb

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

  def self.version
    VERSION
  end

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

  def self.root
    "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
  end

end  # module SportDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-1.9.12 lib/sportdb/version.rb