Sha256: 200b3878a84ea0ada92c3da9b1a4f14129ddd53aa57a5f5c6f268a88a3d8fa94

Contents?: true

Size: 468 Bytes

Versions: 1

Compression:

Stored size: 468 Bytes

Contents

# encoding: utf-8

module SportDb

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

  def self.version
    VERSION
  end

  def self.banner
    "sportdb-models/#{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-models-1.18.2 lib/sportdb/version.rb