--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "This method is <b>obsoleted</b> at 1.8.1. Use #each_line or #each_entry." full_name: Pathname#foreach is_singleton: false name: foreach params: (*args, &block) visibility: public