method

each

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Buffering
each(eol=$/) public

Executes the block for every line in the stream where lines are separated by eol.

See also #gets

Show source
Register or log in to add new notes.