module ActionDispatch
module Routing
class RouteSet
def generate(route_key, options, recall = {})
Generator.new(route_key, options, recall, self).generate
end
end
end
end
generate
# 以下几个方法 initialize 时被调用
normalize_recall!
normalize_options!
normalize_controller_action_id!
use_relative_controller!
normalize_controller!
normalize_action!
use_recall_for
controller
current_controller
different_controller?
attr_reader :options, :recall, :set, :named_route