class Sinatra::Base

def setup_middleware(builder)

def setup_middleware(builder)
  middleware.each { |c,a,b| builder.use(c, *a, &b) }
end