Class: WitBot::Generators::SetupGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/wit_bot/setup/setup_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



6
7
8
# File 'lib/generators/wit_bot/setup/setup_generator.rb', line 6

def create_initializer_file
  copy_file 'initializer.rb', 'config/initializers/wit_bot.rb'
end