Sha256: 793084777e4a9728dae90aeccdb37457035916a805c1ffec819fea55e3f59499

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