Sha256: 40d103b89f25e46a6e1c38c928f85a5688e56f194ce44a3824f52cbfcf70c676

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

# encoding: utf-8

module SportDb

  MAJOR = 1    ## todo: namespace inside version or something - why? why not??
  MINOR = 15
  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.15.2 lib/sportdb/version.rb