Deletes a child element.
Must be an Element, String, or Integer. If Element, the element is removed. If String, the element is found (via XPath) and removed. <em>This means that any parent can remove any descendant.<em> If Integer, the Element indexed by that number will be removed.
the element that was removed.
doc.delete_element "/a/b/c[@id='4']" doc.delete_element doc.elements["//k"] doc.delete_element 1
Removes installed executables and batch files (windows only) for gemspec.
returns a Time that represents the Last-Modified field.
Initiates the SSL/TLS handshake as a client in non-blocking manner.
# emulates blocking connect begin ssl.connect_nonblock rescue IO::WaitReadable IO.select([s2]) retry rescue IO::WaitWritable IO.select(nil, [s2]) retry end
By specifying a keyword argument exception to false, you can indicate that connect_nonblock should not raise an IO::WaitReadable or IO::WaitWritable exception, but return the symbol :wait_readable or :wait_writable instead.
Create an exception with class klass and message
Determines whether there was an error and raises the appropriate error based on the reply code of the response
Returns the allowed HTTP request methods
Returns true if the file or directory may be deleted by DELE/RMD.
Set the entity expansion limit. By default the limit is set to 10240.
Deprecated. Use REXML::Security.entity_expansion_text_limit= instead.
Get the entity expansion limit. By default the limit is set to 10240.
Deprecated. Use REXML::Security.entity_expansion_text_limit instead.
Set the entity expansion limit. By default the limit is set to 10240.
Get the entity expansion limit. By default the limit is set to 10240.