Module: ExceptionHandler
- Defined in:
- lib/generators/exception_handler/migration_generator.rb,
lib/exception_handler.rb,
lib/exception_handler/config.rb,
lib/exception_handler/parser.rb,
lib/exception_handler/version.rb,
app/models/exception_handler/error.rb,
lib/generators/exception_handler/views_generator.rb,
lib/generators/exception_handler/install_generator.rb,
app/controllers/exception_handler/exception_controller.rb
Overview
Migration Generator (for adding errors table) Ref: github.com/plataformatec/devise/blob/master/lib/generators/active_record/devise_generator.rb
Defined Under Namespace
Classes: Config, Error, ExceptionController, Exceptions, Generators, Message, MigrationGenerator, Parser, ViewsGenerator
Constant Summary collapse
- VERSION =
"0.3.5"
Class Method Summary collapse
-
.setup {|config| ... } ⇒ Object
Block (for initializer).
Class Method Details
.setup {|config| ... } ⇒ Object
Block (for initializer)
37 38 39 40 |
# File 'lib/exception_handler.rb', line 37 def self.setup self.config ||= Config.new yield(config) if block_given? end |