UnixFFI is a project mainly written in Ruby, it's free.
ffi lab for UnixStd library
== DESCRIPTION:
UnixFFI is a ruby(mri) test project for laborating and learn ffi[http://github.com/ffi/ffi].
== FEATURES:
== REQUIREMENTS:
== SYNOPSIS:
require 'lib/unix'
passwd = Unix::Passwd.new passwd.collect(&:name) -> ["root", "bin", ...]
grouped_by_gid = passwd.group_by{|pwe| pwe.gid} grouped_by_gid.each{|gid,pwnts| puts "group #{gid} has #{pwnts.count} members"} -> "group 0 has 1 members"...