module ViteRuby::IO

def read_lines(io)

Internal: Reads and yield every line in the stream. Returns the full content.
def read_lines(io)
  buffer = +''
  while line = io.gets
    buffer << line
    yield line
  end
  buffer
end