Returns a new 6-element array, consisting of the label, user CPU time, system CPU time, children’s user CPU time, children’s system CPU time and elapsed real time.
Convert the Cookie
to its string representation.
Returns the table as an Array of Arrays. Headers will be the first row, then all of the field rows will follow.
Returns a String representation of the URI::FTP
Returns the attribute value, with entities replaced
Returns the content of this CData
object
Examples
c = CData.new( "Some text" ) c.to_s # -> "Some text"
Returns an Array of Element
children. An XPath
may be supplied to filter the children. Only Element
children are returned, even if the supplied XPath
matches non-Element children.
doc = Document.new '<a>sean<b/>elliott<c/></a>' doc.root.elements.to_a #-> [ <b/>, <c/> ] doc.root.elements.to_a("child::node()") #-> [ <b/>, <c/> ] XPath.match(doc.root, "child::node()") #-> [ sean, <b/>, elliott, <c/> ]
Returns this entity as a string. See write().
Returns the string value of this text node. This string is always escaped, meaning that it is a valid XML
text node string, and all entities that can be escaped, have been inserted. This method respects the entity filter set in the constructor.
# Assume that the entity "s" is defined to be "sean", and that the # entity "r" is defined to be "russell" t = Text.new( "< & sean russell", false, nil, false, ['s'] ) t.to_s #-> "< & &s; russell" t = Text.new( "< & &s; russell", false, nil, false ) t.to_s #-> "< & &s; russell" u = Text.new( "sean russell", false, nil, true ) u.to_s #-> "sean russell"
Contains all discovered TupleSpaces except for the primary.
Contains all discovered TupleSpaces except for the primary.