Sha256: 4fb2127874caa3cf12a8ef84abfb1dbf9236ca04d4a55a28f3d4e6dd3f8a3c45

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

module SportDb

  MAJOR = 1    ## todo: namespace inside version or something - why? why not??
  MINOR = 9
  PATCH = 7
  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.7 lib/sportdb/version.rb