def each(&block)
      (0...@buffer.count).each_slice(5000) do |linenos|
        start, stop = linenos[0], linenos[-1] + 1
        @buffer.get_lines(start, stop, true).each(&block)
      end
    end
def each(&block)
      (0...@buffer.count).each_slice(5000) do |linenos|
        start, stop = linenos[0], linenos[-1] + 1
        @buffer.get_lines(start, stop, true).each(&block)
      end
    end
Satisfy the +Enumerable+ interface by yielding each line.

 @yieldparam line [String]