Skip to content
Snippets Groups Projects
Commit e5945651 authored by Jack Nagel's avatar Jack Nagel
Browse files

Pass these as strings, they get converted anyway

parent 113125d3
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@ module MacOS
class Version < ::Version
def <=>(other)
v = case other
when :mountain_lion then 10.8
when :lion then 10.7
when :snow_leopard then 10.6
when :leopard then 10.5
when :tiger then 10.4
when :mountain_lion then "10.8"
when :lion then "10.7"
when :snow_leopard then "10.6"
when :leopard then "10.5"
when :tiger then "10.4"
else other.to_s
end
super(Version.new(v))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment