Sha256: 5c80cdb16d23260da1e9e4064add6449d51be145548ca1e9ddec48ec500c03bf

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

require 'beerdb/admin/version'
require 'beerdb/admin/engine'

module BeerDbAdmin

  def self.banner
    "beerdb-admin #{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
  end

  ##  cut off folders lib(#1)/sportdb(#2) to get to root
  def self.root
    "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
  end

end


# say hello
puts BeerDbAdmin.banner

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beerdb-admin-0.1.1 lib/beerdb/admin.rb
beerdb-admin-0.1.0 lib/beerdb/admin.rb
beerdb-admin-0.0.1 lib/beerdb/admin.rb