Class: Rebot::CLI
Instance Attribute Summary collapse
-
#bot_name ⇒ Object
readonly
Returns the value of attribute bot_name.
Instance Method Summary collapse
Instance Attribute Details
#bot_name ⇒ Object (readonly)
Returns the value of attribute bot_name.
8 9 10 |
# File 'lib/rebot/cli.rb', line 8 def bot_name @bot_name end |
Instance Method Details
#new(bot_name) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/rebot/cli.rb', line 13 def new(bot_name) @bot_name = bot_name @bot_class = camel_case(bot_name) directory "project", bot_name, verbose: verbose after_create end |