On Apr 14, 3:12=A0pm, Paul Fox <olifoxp... / googlemail.com> wrote:
> hi all,
> does the stock ruby (1.8) library have any classes that i can use to
> detect the current systems' cpu type, and number of cpu's etc?
> i'm hoping for something portable across linux, mac, bsd etc, but cant
> find much.

Nothing stock, but there's sys-cpu.

gem install sys-cpu

Regards,

Dan