module Roda::RodaPlugins::Base::ClassMethods

def build_rack_app

Build the rack app to use
def build_rack_app
  app = base_rack_app_callable(use_new_dispatch_api?)
  @middleware.reverse_each do |args, bl|
    mid, *args = args
    app = mid.new(app, *args, &bl)
    app.freeze if opts[:freeze_middleware]
  end
  @app = app
end