class Hpricot::Elem
def initialize(stag, children=nil, etag=nil)
def initialize(stag, children=nil, etag=nil) @stag, @etag = stag, etag @children = children ? children.each { |c| c.parent = self } : [] end
def initialize(stag, children=nil, etag=nil) @stag, @etag = stag, etag @children = children ? children.each { |c| c.parent = self } : [] end