Sha256: 28966e520c3f8ae4e4593745df246e8df64db1bbf84678f0233bc34e28393cc5
Contents?: true
Size: 666 Bytes
Versions: 11
Compression:
Stored size: 666 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( "initializer.rb", "config/initializers/bot.rb" ) end hook_for :test_framework end end end
Version data entries
11 entries across 11 versions & 1 rubygems