Flowdock
method

parse

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Parser
parse(uri) public

Args

uri

String

Description

parses uri and constructs either matching URI scheme object (FTP, HTTP, HTTPS, LDAP, LDAPS, or MailTo) or URI::Generic

Usage

p = URI::Parser.new
p.parse("ldap://ldap.example.com/dc=example?user=john")
#=> #<URI::LDAP:0x00000000b9e7e8 URL:ldap://ldap.example.com/dc=example?user=john>
Show source
Register or log in to add new notes.