method
new
v4.0.2 -
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 60
def initialize(set, scope, path, options)
@set, @scope, @path, @options = set, scope, path, options
@requirements, @conditions, @defaults = {}, {}, {}
normalize_options!
normalize_path!
normalize_requirements!
normalize_conditions!
normalize_defaults!
end