class Nokogiri::XML::Reader

def each

Move the cursor through the document yielding the cursor to the block
##
def each
  while (cursor = read)
    yield cursor
  end
end