class Rack::AmbiguousProxyMatch

Attributes

matches[R]
path[R]

Public Class Methods

new(path, matches) click to toggle source
# File vendor/rack-reverse-proxy/lib/rack/exception.rb, line 16
def initialize(path, matches)
  @path = path
  @matches = matches
end

Public Instance Methods

to_s() click to toggle source
# File vendor/rack-reverse-proxy/lib/rack/exception.rb, line 21
def to_s
  %Q(Path "#{path}" matched multiple endpoints: #{formatted_matches})
end

Private Instance Methods

formatted_matches() click to toggle source
# File vendor/rack-reverse-proxy/lib/rack/exception.rb, line 27
def formatted_matches
  matches.map {|matcher| matcher.to_s}.join(', ')
end