Sha256: 33df9d3e4cb62fbf0fb22811196f484cb58a0d88ecf0b08de7222a80b1b08e36

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

# encoding: utf-8

module SportDb
module Module
module Models
  MAJOR = 2
  MINOR = 0
  PATCH = 0
  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.dirname(__FILE__)))) )}"
  end

end  # module Models
end  # module Module

  #################
  ## add convenience shortcuts
  VERSION = Module::Models::VERSION
end  # module SportDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sportdb-models-2.0.0 lib/sportdb/models/version.rb