method
new
v4.0.2 -
Show latest stable
- Class:
ActionDispatch::Routing::RouteSet::NamedRouteCollection::UrlHelper::OptimizedUrlHelper
new(route, options)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/route_set.rb, line 164
def initialize(route, options)
super
@path_parts = @route.required_parts
@arg_size = @path_parts.size
@string_route = @route.optimized_path
end