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.
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, default_framework, finished?, inherited, move_klass
Class Method Details
.run ⇒ Object
Declares empty Application and Exception controllers.
Returns
nil
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 |
# File 'lib/merb-core/bootloader.rb', line 1143 def self.run unless defined?(Exceptions) Object.class_eval <<-RUBY class Application < Merb::Controller abstract! end class Exceptions < Application end RUBY end nil end |