Sha256: fce37992d3ff8d23f35e9b239cb95a9b2c16c820ce4aa25e2fe39304353f5439

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

# encoding: utf-8

module BeerDb
  MAJOR = 1 ## todo: namespace inside version or something - why? why not??
  MINOR = 1
  PATCH = 0
  VERSION = [MAJOR,MINOR,PATCH].join('.')

  def self.version
    VERSION
  end

  def self.banner
    "beerdb-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 BeerDb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beerdb-models-1.1.0 lib/beerdb/version.rb