Sha256: c928406831752409cb1a36dc80e33fd5b4f828974fd86d40664bac1a33c05914

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

module Wiris
    class Iterator < Enumerator
        def initialize(enum)
            super(enum)
        end
        alias enumeratornext next
        def next
            self.enumeratornext
        end

        def hasNext()
            begin
                self.peek
                return true
            rescue StopIteration
                return false
            end
        end
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wirispluginengine-3.62.0.1322 lib/src-generic/Iterator.rb