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