Sha256: 4c30912d7f76693d4233799023aaac4ee368e653eb7c87addf603ace6a7107fd
Contents?: true
Size: 192 Bytes
Versions: 1
Compression:
Stored size: 192 Bytes
Contents
module RFC3987 module Validation def valid_path?(str) !parse(str, root: :ipath).nil? end def valid_segment?(str) !parse(str, root: :isegment).nil? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfc3987-0.1.1 | lib/rfc3987/validation.rb |