Sha256: 295ec10bcb27533283b56e2f452738606e522ed3bf92c7ee94f8a6afecc9f835

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

module SportDb
module Module
module Models
  MAJOR = 2
  MINOR = 0
  PATCH = 3
  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.3 lib/sportdb/models/version.rb