module Roda::RodaPlugins::StripPathPrefix
def self.configure(app, prefix=Dir.pwd)
def self.configure(app, prefix=Dir.pwd) prefix += '/' unless prefix=~ /\/\z/ app.opts[:strip_path_prefix] = /\A#{Regexp.escape(prefix)}/ end
def self.configure(app, prefix=Dir.pwd) prefix += '/' unless prefix=~ /\/\z/ app.opts[:strip_path_prefix] = /\A#{Regexp.escape(prefix)}/ end