method

foreach

ruby latest stable - Class: Pathname

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

foreach(*args, &block)
public

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