# File lib/nokogiri/xml/reader.rb, line 105 def each(&block) while node = self.read block.call(node) end end