Fix pretty names

This commit is contained in:
Adam Vandenberg 2013-06-14 14:47:16 -07:00
parent 8739eeab7d
commit ca10e5005a

View File

@ -15,7 +15,15 @@ module MacOS
end
def pretty_name
@version.split('_').map(&:capitalize).join(' ')
case @version
when "10.9" then "Mavericks"
when "10.8" then "Mountain Lion"
when "10.7" then "Lion"
when "10.6" then "Snow Leopard"
when "10.5" then "Leopard"
when "10.4" then "Tiger"
else @version
end
end
end
end