popcorn :: UriString :: defaultinit
# A static uri string like `users`.
private class UriString
super UriPart
# Uri part string.
var string: String
# Empty strings match everything otherwise matching is based on string equality.
redef fun match(part) do return string.is_empty or string == part
redef fun to_s do return string
end
lib/popcorn/pop_routes.nit:252,1--263,3