Class | Merb::BootLoader::SetupStubClasses |
In: |
merb-core/lib/merb-core/bootloader.rb
|
Parent: | Merb::BootLoader |
In case someone‘s running a sparse app, the default exceptions require the Exceptions class. This must run prior to the AfterAppLoads BootLoader So that plugins may have ensured access in the after_app_loads block
Declares empty Application and Exception controllers.
nil
:api: plugin
# File merb-core/lib/merb-core/bootloader.rb, line 1232 1232: def self.run 1233: unless defined?(Exceptions) 1234: Object.class_eval "class Application < Merb::Controller\nabstract!\nend\n\nclass Exceptions < Merb::Controller\nend\n" 1235: end 1236: nil 1237: end