Easy way to convert text lines into table rows?

I have a piece of text with many lines. What’s the easiest way to convert these lines into rows of a Google Docs table?

(Sure, I could create a table manually and 1-by-1 copy/paste each line into each row, but that would be a waste of time.)