Sha256: 3a760ed7bb7df0495718735b331048a493c82ce7dc98250f3d651e7ca93e6343

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

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

  def self.version
    VERSION
  end

  def self.banner
    "beerdb/#{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-0.9.12 lib/beerdb/version.rb