From: "Shot (Piotr Szotkowski)" Date: 2007-12-17T05:03:56+09:00 Subject: Re: An idiomatic way to traverse all pairs in an enumerable? --2qXFWqzzG3v1+95a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Trans: > On Dec 15, 6:03 pm, "Shot (Piotr Szotkowski)" wrote: >> In general, I'm looking for an idiomatic way of traversing >> each possible pair of a given enum's contents (once). > Facets exits for you. (I can=E2=80=99t help but love the typo.) > http://facets.rubyforge.org/rdoc/core/classes/Enumerable.html#M000450 Ah, thanks =E2=80=93 I have both Facets=E2=80=99 and Utility Belt=E2=80=99s= documentation on my to-read list, but didn=E2=80=99t have the time yet. :) -- Shot --=20 Java is a WORA language! (Write Once, Run Away) -- James Vandenberg --2qXFWqzzG3v1+95a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFHZYJJi/mCfdEo8UoRAm4gAJsGzuxybkd3COaKHzyYON0RfY5HiQCg0v8H egYTo22KGZk5jNSsKz/Xm04= =PHby -----END PGP SIGNATURE----- --2qXFWqzzG3v1+95a--