Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
URI parse : URI « Network « Ruby
Ruby
Network
URI
URI parse
require
'uri'
uri = URI.parse(
'tag:a.com,2006,my-tag'
) uri.scheme uri.opaque
Related examples in the same category
1.
Parsing URLs
2.
Split a URL
3.
URI::HTTP.component
4.
URI::MailTo.component
5.
Create a URL with URI::HTTP.build
6.
Dump a URL
7.
mailto URI parse
8.
Extracting All the URLs from an HTML Document
9.
Get only http and https based url