* The representation of a parsed Operating System. * * @constructor * @param {String} family The name of the os * @param {String} major Major version of the os * @param {String} minor Minor version of the os * @param {String} patch Patch version of the os * @api public
(family, major, minor, patch)
| 220 | * @api public |
| 221 | */ |
| 222 | function OperatingSystem(family, major, minor, patch) { |
| 223 | this.family = family || 'Other'; |
| 224 | this.major = major || '0'; |
| 225 | this.minor = minor || '0'; |
| 226 | this.patch = patch || '0'; |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Generates a stringified version of the Operating System. |
nothing calls this directly
no outgoing calls
no test coverage detected