Class: Poppler::IndexIter

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/poppler/index-iter.rb

Instance Method Summary collapse

Instance Method Details

#eachObject



21
22
23
24
25
26
27
28
# File 'lib/poppler/index-iter.rb', line 21

def each
  return to_enum(__method__) unless block_given?

  loop do
    yield(self)
    break unless self.next
  end
end