class Sys::Platform

def self.unix?

Returns whether or not you're on a Unixy (non-Windows) OS
def self.unix?
  Uname.sysname =~ /microsoft/i ? false : true
end