Class: BubBot::CLI
- Inherits:
-
Object
- Object
- BubBot::CLI
- Defined in:
- lib/bub_bot/cli.rb
Constant Summary collapse
- DEFAULT_CONFIG_FILENAME =
'bub_bot.yml'
Instance Method Summary collapse
-
#initialize(args) ⇒ CLI
constructor
A new instance of CLI.
- #start ⇒ Object
Constructor Details
#initialize(args) ⇒ CLI
Returns a new instance of CLI.
5 6 7 8 9 |
# File 'lib/bub_bot/cli.rb', line 5 def initialize(args) @args = args @filename = args[0] || DEFAULT_CONFIG_FILENAME end |