Sha256: d5116b4ecdbbde3269df23ad2c2c692a2d47a00428821fc0085f74a71fab4599

Contents?: true

Size: 595 Bytes

Versions: 1

Compression:

Stored size: 595 Bytes

Contents

# encoding: utf-8


module SportDb
module Formats

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

  def self.version
    VERSION
  end

  def self.banner
    "sportdb-formats/#{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.config_path
    "#{root}/config"
  end

end # module Formats
end # module SportDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-formats-0.1.2 lib/sportdb/formats/version.rb