Linux Mint
My Places
Sign in
Community
Software
Users
Moderation
Beta Testing
ISO Images
Teams
ruby-os
Simple and easy way to know if you're on windows or not (reliably)
http://github.com/rdp/os
0
no reviews
Install
It also tells how many bits the OS is, etc.
The OS library allows for some useful and easy functions, like OS.windows? (=> true or false) OS.bits ( => 32 or 64) etc"