Sha256: 813fb5e9a4629e5d2c2c8ffb8df18ced1d386423e680d50ae4b13d241a5e79da

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