Sha256: 9aac83eb52c6443aa02db951341ba312c2acb55ef9304325a2c27ab89a82c116

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

# encoding: utf-8

module SportDb
module Module
module Models
  MAJOR = 1    ## todo: namespace inside version or something - why? why not??
  MINOR = 19
  PATCH = 1
  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 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-1.19.1 lib/sportdb/version.rb