Sha256: 69bf38dae94d81b5c647172cf74f8e449b6152b193250bbb613046b5ce0cbf0c

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

# encoding: utf-8

# Note: BeerDb::VERSION gets used by core, that is, beerdb-models


module BeerDbTool    # todo/check - rename to BeerDbCli or BeerDbCommands or BeerDbShell ??

  MAJOR = 1
  MINOR = 1
  PATCH = 1
  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.dirname(__FILE__)))) )}"
  end

end # module BeerDbTool

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beerdb-1.1.1 lib/beerdb/cli/version.rb