Class: BeerDb::Tool

Inherits:
Object
  • Object
show all
Defined in:
lib/beerdb/cli/main.rb

Instance Method Summary collapse

Constructor Details

#initializeTool

Returns a new instance of Tool.



10
11
12
# File 'lib/beerdb/cli/main.rb', line 10

def initialize
  LogUtils::Logger.root.level = :info   # set logging level to info
end

Instance Method Details

#run(args) ⇒ Object



14
15
16
17
# File 'lib/beerdb/cli/main.rb', line 14

def run( args )
  puts BeerDbTool.banner
  Toolii.run( args )
end