module Roda::RodaPlugins::Base::RequestMethods
def _match_symbol(sym=nil)
def _match_symbol(sym=nil) rp = @remaining_path if rp[0, 1] == "/" if last = rp.index('/', 1) if last > 1 @captures << rp[1, last-1] @remaining_path = rp[last, rp.length] end elsif rp.length > 1 @captures << rp[1,rp.length] @remaining_path = "" end end end