method

build

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Mapping
build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 65
        def self.build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options)
          options = scope[:options].merge(options) if scope[:options]

          defaults = (scope[:defaults] || {}).dup
          scope_constraints = scope[:constraints] || {}

          new set, ast, defaults, controller, default_action, scope[:module], to, formatted, scope_constraints, scope[:blocks] || [], via, options_constraints, anchor, options
        end
Register or log in to add new notes.