Class: Klunk::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Klunk::Generators::InstallGenerator
- Defined in:
- lib/generators/klunk/install_generator.rb
Instance Method Summary collapse
- #copy_initializer ⇒ Object
- #copy_queues_configuration_file ⇒ Object
- #copy_topics_configuration_file ⇒ Object
Instance Method Details
#copy_initializer ⇒ Object
7 8 9 10 |
# File 'lib/generators/klunk/install_generator.rb', line 7 def copy_initializer template 'config/initializers/klunk.rb' puts 'Install complete! Check \'config/initializers/klunk.rb\'.' end |
#copy_queues_configuration_file ⇒ Object
16 17 18 |
# File 'lib/generators/klunk/install_generator.rb', line 16 def copy_queues_configuration_file template 'config/queues.yml' end |
#copy_topics_configuration_file ⇒ Object
12 13 14 |
# File 'lib/generators/klunk/install_generator.rb', line 12 def copy_topics_configuration_file template 'config/topics.yml' end |