module Hpricot::Container::Trav

def each_hyperlink # :yields: text

:yields: text
Note that +each_hyperlink+ yields HTML href attribute of BASE element.

It yields Hpricot::Text.

of A element.
+each_hyperlink+ traverses hyperlinks such as HTML href attribute
def each_hyperlink # :yields: text
  links = []
  each_hyperlink_attribute {|elem, attr, hyperlink|
    yield hyperlink
  }
end