Dave Thomas writes: ... > Quick question. For the sort in 7.15 (the one that uses downcase, then > regular comparisons) is there a good Ruby idiom for this. In Perl you > could write (almost) > > a.downcase <=> b.downcase || a <=> b Erhm... this is Perl??? I would guess, that this already is Ruby. But because of the fact, that in Ruby 0 (ZERO) means 'true', we would have to write... (c = (a.downcase <=> b.downcase)) == 0 ? a <=> b : c > > Is there a clever Ruby equivalent? A clever one... I do not know, right now! :-( > > > Dave > \cle -- Clemens Hintze mailto: c.hintze / gmx.net