Method: Charyf::Application#dispatcher
- Defined in:
- lib/charyf/utils/application.rb
#dispatcher ⇒ Object
99 100 101 102 103 104 105 |
# File 'lib/charyf/utils/application.rb', line 99 def dispatcher # TODO resolve dependency on engine - maybe move the base classes to utils? klass = Charyf::Engine::Dispatcher.list[config.dispatcher] raise Charyf::Utils::InvalidConfiguration.new("No dispatcher with name '#{config.dispatcher}' found") unless klass klass end |