struct Myhtml::EachTagIterator
- Myhtml::EachTagIterator
- Struct
- Value
- Object
Included Modules
- Iterator(Myhtml::Node)
Defined in:
myhtml/iterators.crConstructors
Instance Method Summary
- #count
-
#next
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements. - #rewind
-
#size
Returns the number of elements in the collection.
Constructor Detail
Instance Method Detail
def next
#
Description copied from module Iterator(Myhtml::Node)
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.
def size
#
Description copied from module Enumerable(Myhtml::Node)
Returns the number of elements in the collection.
[1, 2, 3, 4].size # => 4