each time content variable inside the block contains each line of the sentence. Code: IO.foreach("test.txt"){|content| puts content}. Output:.
確定! 回上一頁