class Roda::RodaPlugins::MiddlewareStack::Stack
def handle(offset)
def handle(offset) @middleware.each_with_index do |(m, _), i| if yield(*m) return StackPosition.new(@app, @middleware, i+offset) end end StackPosition.new(@app, @middleware, @middleware.length) end