Class: Messaged::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Messaged::Generators::InstallGenerator
- Defined in:
- lib/generators/messaged/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer_file ⇒ Object
11 12 13 14 15 |
# File 'lib/generators/messaged/install/install_generator.rb', line 11 def copy_initializer_file copy_file \ 'initializer.rb', 'config/initializers/messaged.rb' end |
#set_source_paths ⇒ Object
4 5 6 7 8 9 |
# File 'lib/generators/messaged/install/install_generator.rb', line 4 def set_source_paths @source_paths = [ File.('templates', __dir__), File.('../../../..', __dir__), ] end |