Results for: "partition"

Similar to sort(), but returns an array of unique identifiers.

Leaves IDLE.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

returns the port for POP3

Opens a POP3 session, attempts authentication, and quits.

This method raises POPAuthenticationError if authentication fails.

Example: normal POP3

Net::POP3.auth_only('pop.example.com', 110,
                    'YourAccount', 'YourPassword')

Example: APOP

Net::POP3.auth_only('pop.example.com', 110,
                    'YourAccount', 'YourPassword', true)

Starts a pop3 session, attempts authentication, and quits. This method must not be called while POP3 session is opened. This method raises POPAuthenticationError if authentication fails.

The default SMTP port number, 25.

No documentation available
No documentation available
No documentation available
No documentation available

Private setter for the path of the URI::FTP

Main name of the switch.

see Enumerator#with_index.

see Enumerator#with_object.

Replaces this object with another object. Basically, calls Parent.replace_child

Returns

self

Sets the previous sibling of this child. This can be used to insert a child before some other child.

a = Element.new("a")
b = a.add_element("b")
c = Element.new("c")
b.previous_sibling = c
# => <a><b/><c/></a>

According to the XML spec, a root node has no expanded name

@return the XMLDecl standalone value of this document as a String. If no XMLDecl has been set, returns the default setting.

Adds a namespace to this element.

prefix

the prefix string, or the namespace URI if uri is not supplied

uri

the namespace URI. May be nil, in which prefix is used as the URI

Evaluates to: this Element

a = Element.new("a")
a.add_namespace("xmlns:foo", "bar" )
a.add_namespace("foo", "bar")  # shorthand for previous line
a.add_namespace("twiddle")
puts a   #-> <a xmlns:foo='bar' xmlns='twiddle'/>
Search took: 4ms  ·  Total Results: 2971