module
Myhtml::Iterator::Filter
Direct including types
- Myhtml::Iterator::Children
- Myhtml::Iterator::Collection
- Myhtml::Iterator::Left
- Myhtml::Iterator::Parents
- Myhtml::Iterator::Right
- Myhtml::Iterator::Scope
Defined in:
myhtml/iterator.crInstance Method Summary
-
#nodes(tag_id : Lib::MyhtmlTags)
Iterator node filter returns Myhtml::Iterator::Collection
-
#nodes(tag_sym : Symbol)
Iterator node filter returns Myhtml::Iterator::Collection
-
#nodes(tag_str : String)
Iterator node filter returns Myhtml::Iterator::Collection
Instance Method Detail
def nodes(tag_id : Lib::MyhtmlTags)
#
Iterator node filter returns Myhtml::Iterator::Collection
iterator.nodes(Myhtml::Lib::MyhtmlTags::MyHTML_TAG_DIV).each { |node| ... }
def nodes(tag_sym : Symbol)
#
Iterator node filter returns Myhtml::Iterator::Collection
iterator.nodes(:div).each { |node| ... }
def nodes(tag_str : String)
#
Iterator node filter returns Myhtml::Iterator::Collection
iterator.nodes("div").each { |node| ... }