hardware: prettify config output on 6/8-core CPUs (#313)

This commit is contained in:
Martin Afanasjew 2016-06-14 15:08:04 +02:00 committed by GitHub
parent 8a70b000e5
commit 7727c7764c

View File

@ -55,6 +55,8 @@ module Hardware
when 1 then "single"
when 2 then "dual"
when 4 then "quad"
when 6 then "hexa"
when 8 then "octa"
else
Hardware::CPU.cores
end