# File lib/padrino-core/application/routing.rb, line 98 def apply?(request) detect = @args.any? do |arg| case arg when Symbol then request.route_obj && (request.route_obj.named == arg or request.route_obj.named == [@scoped_controller, arg].flatten.join("_").to_sym) else arg === request.path_info end end || @options.any? do |name, val| case name when :agent then val === request.user_agent else val === request.send(name) end end detect ^ !@mode end
Generated with the Darkfish Rdoc Generator 2.