module Pleiades::Command

Public Class Methods

get(event) click to toggle source
# 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