@mistydemeo Sorry but it looks too hackish and fragile. Once it goes over 10.9 or Mac OS X moved from 10.x naming that could break.

As MacOS.version is actually manually assigned, what about define MacOS.major to be 9/10/11/12 just like MacOS.version?