Module: Hpricot::Leaf::Trav

Includes:
Traverse
Included in:
BogusETag::Trav, CData::Trav, Comment::Trav, DocType::Trav, ProcIns::Trav, Text::Trav, XMLDecl::Trav
Defined in:
lib/hpricot/modules.rb,
lib/hpricot/traverse.rb,
lib/hpricot/traverse.rb,
lib/hpricot/traverse.rb

Instance Method Summary collapse

Methods included from Traverse

#after, #at, #before, #bogusetag?, #children_of_type, #clean_path, #comment?, #css_path, #doc?, #doctype?, #elem?, filter, #following, #get_subnode, #html, #index, #inner_html=, #inner_text, #make, #next, #node_position, #nodes_at, #position, #preceding, #previous, #procins?, #search, #swap, #text?, #to_html, #to_original_html, #to_plain_text, #traverse_element, #traverse_text, #xmldecl?, #xpath

Instance Method Details

#traverse_all_element {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



654
655
656
# File 'lib/hpricot/traverse.rb', line 654

def traverse_all_element
  yield self
end

#traverse_some_element(name_set) ⇒ Object



673
674
# File 'lib/hpricot/traverse.rb', line 673

def traverse_some_element(name_set)
end

#traverse_text_internalObject



694
695
# File 'lib/hpricot/traverse.rb', line 694

def traverse_text_internal
end