URI
| Use Case | Command | Description |
|---|---|---|
| Parse a URI string | URI.parse("http://example.com") | 🔍 Creates a URI object from a string |
| Build a URI | URI::HTTP.build(host: "example.com", path: "/foo") | 🛠️ Constructs a URI programmatically |
| Access components | uri.host, uri.scheme, uri.path | 📂 Retrieve individual parts of the URI |
| Encode/decode | URI.encode("a b"), URI.decode("a+b") | 🔐 URL‑safe encoding/decoding |
| Merge relative URIs | URI.join("http://a.com/x", "y") | 🔗 Combine a base URL with a relative path |
📂 from /home/chedong/.local/share/rdoc
parser — Returns the URI parser instanceGenerated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 12:45 @216.73.217.111
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format