Mini Shell
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the previous sibling that is an element, or nil if there is no Element sibling prior to this one
- !ruby/struct:SM::Flow::VERB
body: " doc = Document.new '<a><b/>text<c/></a>'\n doc.root.elements['c'].previous_element #-> <b/>\n doc.root.elements['b'].previous_element #-> nil\n"
full_name: REXML::Element#previous_element
is_singleton: false
name: previous_element
params: ()
visibility: public
Zerion Mini Shell 1.0