Class: FuncBot::InstallGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/func_bot/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#move_files_to_libObject



5
6
7
8
9
# File 'lib/generators/func_bot/install_generator.rb', line 5

def move_files_to_lib
  copy_file "openai.rb", "config/initializers/openai.rb"
  copy_file "list.yml", "app/lib/func_bot/functions/list.yml"
  copy_file "weather_function.rb", "app/lib/func_bot/functions/weather_function.rb"
end