class Wiris::XmlIterator
Public Class Methods
new(enum)
click to toggle source
# File lib/src-generic/Xml.rb, line 183 def initialize(enum) @enumeration = enum.map end
Public Instance Methods
hasNext()
click to toggle source
# File lib/src-generic/Xml.rb, line 191 def hasNext() begin @enumeration.peek return true rescue StopIteration return false end end
next()
click to toggle source
# File lib/src-generic/Xml.rb, line 187 def next Xml.new @enumeration.next end