12 ms·
> I suppose it could have been called 1.10 but there were > presumably good reasons. If I remember correctly, that's due to the way ruby sorts strings ['1.
by chrislo 18y ago
> I suppose it could have been called 1.10 but there were
> presumably good reasons.
If I remember correctly, that's due to the way ruby sorts strings
['1.8','1.9','1.10'].sort #=> ["1.10", "1.8", "1.9"]
- tesseract 18y agoAh. Maybe it should have been done in hex? %w[1.8 1.9 1.A].sort #=> ["1.8", "1.9", "1.A"]