S
Shea Martin
I would like to enforce ruby 1.8.4 or higher.
if VERSION < "1.8.4"
raise "Invalid version"
end
Fails when VERSION is "1.8.10".
Yeah, I know I could write my own string comparison, but was wondering
if there is a canned solution for this?
~S
if VERSION < "1.8.4"
raise "Invalid version"
end
Fails when VERSION is "1.8.10".
Yeah, I know I could write my own string comparison, but was wondering
if there is a canned solution for this?
~S