Public Instance methods
multi_run()
If one of the stored route prefixes match the current request, dispatch the request to the appropriate rack application.
[show source]
# File lib/roda/plugins/multi_run.rb 129 def multi_run 130 on self.class.multi_run_regexp do |prefix| 131 yield prefix if defined?(yield) 132 run(roda_class.multi_run_apps[prefix] || roda_class.multi_run_app_blocks[prefix].call) 133 end 134 end