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.
thanks.
···
--
Posted via http://www.ruby-forum.com/.
Nothing stock, but there's sys-cpu.
gem install sys-cpu
Regards,
Dan
···
On Apr 14, 3:12 pm, 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.