Class: PunditLogger::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- PunditLogger::Generators::InstallGenerator
- Defined in:
- lib/generators/pundit_logger/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/generators/pundit_logger/install_generator.rb', line 8 def copy_initializer template 'default_initializer.rb', 'config/initializers/pundit_logger.rb' puts "View the created file for configuration options.\n" \ "Now you know what Pundit\'s up to!" end |