From: "Shot (Piotr Szotkowski)" Date: 2009-04-18T04:01:58+09:00 Subject: Re: [SUMMARY] Rhyming Words (#195) --jho1yZJdad60DJr+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Daniel Moore: > This is probably not the best overall solution to make code 1.9=20 > compatible, but it does illustrate some of the differences between=20 > Ruby versions. It appears as though the code was written for 1.8 but=20 > with Facets or another library defining `Symbol#to_proc`. shot@devielle:~$ ruby -v; irb --simple-prompt ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] >> Symbol.instance_methods.include? 'to_proc' =3D> true >> ['DoWN', 'CaSe'].map &:downcase =3D> ["down", "case"] But yes, it definitely *does* illustrate the differences between Ruby versions. :) =E2=80=94 Shot --=20 Nobody came to my trombone recital. I wish there was some way to express how I feel right now. [Joshua Green Allen] --jho1yZJdad60DJr+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkno0h4ACgkQi/mCfdEo8UpHEACePUqI+W2HsBz7wC7x2HeTFuUP /AAAniWK81JuoA/Vy7XPue4Andhoo1vP =OFqu -----END PGP SIGNATURE----- --jho1yZJdad60DJr+--