class PunditLogger::Generators::InstallGenerator

Public Instance Methods

copy_initializer() click to toggle source
# 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