method
new
v8.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Mapping::Scoping
new(set)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 2377
def initialize(set) # :nodoc:
@set = set
@draw_paths = set.draw_paths
@scope = Scope.new(path_names: @set.resources_path_names)
@concerns = {}
end