Ruby is a pure object-oriented language. One of its key features, as compared to other languages, is its simplicity. It is easy to read and write.
PreviousSibling<T>()
method in RubyThe PreviousSibling<T>()
method acquires the class element with the particular type that precedes the current class element. It returns null
if there is no preceding class element found.
The syntax of the PreviousSibling<T>()
method is as follows:
public T PreviousSibling<T> () where T : DocumentFormat.OpenXml.OpenXmlElement;
This method returns the OpenXMLElement
element of type T
that precedes the current class element.