lib/roda/plugins/multi_run.rb
def run(prefix, app=nil)
          if app
            multi_run_apps[prefix.to_s] = app
          else
            multi_run_apps.delete(prefix.to_s)
          end
          self::RodaRequest.refresh_multi_run_regexp!
        end
# Add a rack application to dispatch to for the given prefix when
# r.multi_run is called.
Add a rack application to dispatch to for the given prefix when
r.multi_run is called.
Add a rack application to dispatch to for the given prefix when r . multi_run is called .
def run(prefix, app=nil)
          if app
            multi_run_apps[prefix.to_s] = app
          else
            multi_run_apps.delete(prefix.to_s)
          end
          self::RodaRequest.refresh_multi_run_regexp!
        end
def run ( prefix , app = nil ) if app multi_run_apps [ prefix . to_s ] = app else multi_run_apps . delete ( prefix . to_s ) end self :: RodaRequest . refresh_multi_run_regexp! end
Add a rack application to dispatch to for the given prefix when
r.multi_run is called.
Add a rack application to dispatch to for the given prefix when r . multi_run is called .
prefix
app