Module: BeerDbTool
- Defined in:
- lib/beerdb/cli/version.rb
Overview
todo/check - rename to BeerDbCli or BeerDbCommands or BeerDbShell ??
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
17 18 19 |
# File 'lib/beerdb/cli/version.rb', line 17 def self. "beerdb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.root ⇒ Object
21 22 23 |
# File 'lib/beerdb/cli/version.rb', line 21 def self.root "#{File.( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}" end |
.version ⇒ Object
13 14 15 |
# File 'lib/beerdb/cli/version.rb', line 13 def self.version VERSION end |