A ruby implementation of yielding lines when streaming data to a buffer
>= 0
Erik Fonselius, Joel Segerlind, Gustav Munkby