"rack.request.query_hash" }) strexp = Journey::Router::Strexp.new( "/foo/:id", # path { :id => /\d+/ }, # requirements %w(/ . ?)) # separators path = Journey::Path::Pattern.new(strexp) set.add_route App, path, {:request_method=>/^GET$/}, {:foo => true} Tuesday, April 24, 12