Ruby way to enumerate users

Robert K. said
Hi,
exists there a preferred ruby way to enumerate the
users names and directories?

especially on linux

I think this is what you want

require “etc”
Etc.passwd{ |s|
p s.name
p s.dir
}

Regards,

Dan

···

Find high-speed ‘net deals — comparison-shop your local providers here.
https://broadband.msn.com