D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
URI
/
LDAP
/
Filename :
build-c.ri
back
Copy
U:RDoc::AnyMethod[iI" build:ETI"URI::LDAP::build;TT:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading: leveli: textI"Description;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph; [I"JCreates a new URI::LDAP object from components, with syntax checking.;T@ o;; [I"=The components accepted are host, port, dn, attributes, ;TI"#scope, filter, and extensions.;T@ o;; [I"HThe components should be provided either as an Array, or as a Hash ;TI"Dwith keys formed by preceding the component names with a colon.;T@ o;; [I"?If an Array is used, the components must be passed in the ;TI"Porder <code>[host, port, dn, attributes, scope, filter, extensions]</code>.;T@ o;; [I" Example:;T@ o:RDoc::Markup::Verbatim; [ I"9uri = URI::LDAP.build({:host => 'ldap.example.com', ;TI" :dn => '/dc=example'}) ;TI" ;TI"5uri = URI::LDAP.build(["ldap.example.com", nil, ;TI"5 "/dc=example;dc=com", "query", nil, nil, nil]);T:@format0: @fileI"lib/uri/ldap.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(args);T@'TI" LDAP;TcRDoc::NormalClass00