Object function reference

line_number

A reference entry for line_number

Object function · TextFileReader

line_number() ⇒ number

Returns the number of lines read from the current file. The first successful call to read_line changes this value from 0 to 1.