module Hpricot::Container::Trav

def each_child_with_index(&block) # :yields: child_node, index

:yields: child_node, index
+each_child_with_index+ iterates over each child.
def each_child_with_index(&block) # :yields: child_node, index
  children.each_with_index(&block)
  nil
end