method

foreach

v1_8_7_330 - Show latest stable - Class: Pathname
foreach(*args, &block)
public

This method is obsoleted at 1.8.1. Use #each_line or #each_entry.