method

each_line

v1_9_3_125 - Show latest stable - Class: Pathname
each_line(p1 = v1, p2 = v2, p3 = v3)
public

#each_line iterates over the line in the file. It yields a String object for each line.

This method is availabel since 1.8.1.