From: "Mark J. Reed" Date: 2004-02-09T10:32:37+09:00 Subject: Re: ruby way to enumerate users On Sun, Feb 01, 2004 at 07:33:52PM -0800, Daniel Berger wrote: > Apparently my earlier message got lost. There is no need to wrap this > with the etc module. > > require "etc" > Etc.passwd{ |s| > p s.name > p s.dir > } And when you pass a block it automatically resets to the first user, too. Cool. Thanks! -Mark