# File lib/rack/static.rb, line 26 26: def call(env) 27: path = env["PATH_INFO"] 28: can_serve = @urls.any? { |url| path.index(url) == 0 } 29: 30: if can_serve 31: @file_server.call(env) 32: else 33: @app.call(env) 34: end 35: end