method
new
v3.1.0 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::Constraints
new(app, constraints, request = Rack::Request)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 12
def self.new(app, constraints, request = Rack::Request)
if constraints.any?
super(app, constraints, request)
else
app
end
end