Class: Fastr::Test::Application
- Inherits:
-
Application
- Object
- Application
- Fastr::Test::Application
- Includes:
- Log
- Defined in:
- lib/fastr/test/application.rb
Constant Summary
Constants inherited from Application
Application::INIT_FILE, Application::SETTINGS_FILE
Constants included from Dispatch
Instance Attribute Summary collapse
-
#route ⇒ Object
Returns the value of attribute route.
Attributes inherited from Application
#app_path, #plugins, #router, #settings
Instance Method Summary collapse
Methods included from Log
create_logger, included, level=
Methods inherited from Application
#initialize, #plugin_after_boot
Methods included from Dispatch
#dispatch, #dispatch_public, #do_dispatch, #plugin_after_dispatch, #plugin_before_dispatch, #setup_controller, #setup_controller_params
Constructor Details
This class inherits a constructor from Fastr::Application
Instance Attribute Details
#route ⇒ Object
Returns the value of attribute route.
6 7 8 |
# File 'lib/fastr/test/application.rb', line 6 def route @route end |
Instance Method Details
#boot ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fastr/test/application.rb', line 8 def boot load_settings Fastr::Plugin.load(self) load_app_classes setup_router @booting = false plugin_after_boot app_init end |
#dispatch_controller(route, env) ⇒ Object
20 21 22 |
# File 'lib/fastr/test/application.rb', line 20 def dispatch_controller(route, env) super(self.route, env) end |