Class: BeerDb::Tool
- Inherits:
-
Object
- Object
- BeerDb::Tool
- Defined in:
- lib/beerdb/cli/main.rb
Instance Method Summary collapse
-
#initialize ⇒ Tool
constructor
A new instance of Tool.
- #run(args) ⇒ Object
Constructor Details
#initialize ⇒ Tool
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. Toolii.run( args ) end |