class ActionDispatch::MiddlewareStack

def use(klass, *args, &block)

def use(klass, *args, &block)
  middlewares.push(build_middleware(klass, args, block))
end