Class: WitBot::Generators::BotGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/wit_bot/bot/bot_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_botObject



7
8
9
# File 'lib/generators/wit_bot/bot/bot_generator.rb', line 7

def create_bot
  template 'bot.rb.erb', "app/wit_bot/#{file_name}_bot.rb"
end