Class: Merb::BootLoader::SetupStubClasses
- Inherits:
-
Merb::BootLoader
- Object
- Merb::BootLoader
- Merb::BootLoader::SetupStubClasses
- Defined in:
- lib/merb-core/bootloader.rb
Overview
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
Class Method Summary collapse
-
.run ⇒ Object
Declares empty Application and Exception controllers.
Methods inherited from Merb::BootLoader
after, after_app_loads, before, before_app_loads, before_master_shutdown, before_worker_shutdown, default_framework, finished?, inherited, move_klass
Class Method Details
.run ⇒ Object
Declares empty Application and Exception controllers.
Returns
nil
:api: plugin
1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 |
# File 'lib/merb-core/bootloader.rb', line 1208 def self.run unless defined?(Exceptions) Object.class_eval <<-RUBY class Application < Merb::Controller abstract! end class Exceptions < Merb::Controller end RUBY end nil end |