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