Sha256: 0b44f61ca8d3037b49f34872b806283886283aba138b02b2ed47504244f37b2f
Contents?: true
Size: 764 Bytes
Versions: 8
Compression:
Stored size: 764 Bytes
Contents
module Bot module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) 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( "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 hook_for :test_framework end end end
Version data entries
8 entries across 8 versions & 1 rubygems