Module: Pleiades::Command
- Defined in:
- lib/pleiades/core/command.rb,
lib/pleiades/core/command/router.rb,
lib/pleiades/core/command/factory.rb,
lib/pleiades/core/command/executor.rb,
lib/pleiades/core/command/base_command.rb,
lib/pleiades/core/command/routing_proxy.rb,
lib/pleiades/core/command/routing/result.rb,
lib/pleiades/core/command/routing/validator.rb,
lib/pleiades/core/command/routing/reflection.rb,
lib/pleiades/core/command/routing/nest_blocks.rb,
lib/pleiades/core/command/routing/path_builder.rb,
lib/pleiades/core/command/routing/route_refine.rb,
lib/pleiades/core/command/routing/event_proccessor.rb,
lib/pleiades/core/command/routing/event_judge_methods.rb
Defined Under Namespace
Modules: Routing Classes: BaseCommand, Executor, Factory, Router, RoutingProxy
Class Method Summary collapse
Class Method Details
.get(event) ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/pleiades/core/command.rb', line 11 def get(event) event = Pleiades::Util.define_reader(event).freeze RoutingProxy.collect_router_file(event).each do |path| Router.find_route(event, path) break if Router.path_found? end Factory.production(event, Router.path_info) end |