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

Methods

run  

Public Class methods

Declares empty Application and Exception controllers.

Returns

nil

:api: plugin

[Source]

      # 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

[Validate]