method
new
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Mapping
new(set, scope, path, options)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 56
def initialize(set, scope, path, options)
@set, @scope = set, scope
@options = (@scope[:options] || {}).merge(options)
@path = normalize_path(path)
normalize_options!
end