module OS def self.mac? /darwin/i === RUBY_PLATFORM end def self.linux? /linux/i === RUBY_PLATFORM end end