Public Instance methods
run(*)
Calls the given rack app only if the remaining patch is empty or starts with a slash.
[show source]
# File lib/roda/plugins/run_require_slash.rb 36 def run(*) 37 if @remaining_path.empty? || @remaining_path.start_with?('/') 38 super 39 end 40 end