previous_sibling=(other)
  public
  
    
    
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
 
   
  
    Show source    
    
      
                def previous_sibling=(other)
                  parent.insert_before self, other
                end