6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'lib/generators/bot/install/install_generator.rb', line 6
def create_application_responder
copy_file(
"application_responder.rb",
"app/bot/application_responder.rb"
)
copy_file(
"default_responder.rb",
"app/bot/responders/default.rb"
)
copy_file(
"reset_responder.rb",
"app/bot/responders/reset.rb"
)
copy_file(
"introduction_responder.rb",
"app/bot/responders/introduction.rb"
)
copy_file(
"application_handler.rb",
"app/bot/application_handler.rb"
)
copy_file(
"bot_helper.rb",
"app/bot/helpers/bot_helper.rb"
)
copy_file(
"initializer.rb",
"config/initializers/bot.rb"
)
end
|