Class: ExceptionHandler::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ExceptionHandler::Generators::InstallGenerator
- Defined in:
- lib/generators/exception_handler/install_generator.rb
Instance Method Summary collapse
-
#create_config_file ⇒ Object
Config.
Instance Method Details
#create_config_file ⇒ Object
Config
11 12 13 14 |
# File 'lib/generators/exception_handler/install_generator.rb', line 11 def create_config_file return unless .empty? template "exception_handler.rb", "config/initializers/exception_handler.rb" # https://github.com/plataformatec/devise/blob/master/lib/generators/devise/install_generator.rb#L13 end |