module Roda::RodaPlugins::MultiRun::RequestMethods

def multi_run

dispatch the request to the appropriate rack application.
If one of the stored route prefixes match the current request,
def multi_run
  on self.class.multi_run_regexp do |prefix|
    yield prefix if defined?(yield)
    opts = scope.opts
    run(opts[:multi_run_apps][prefix] || opts[:multi_run_app_blocks][prefix].call)
  end
end