From: Akinori MUSHA Date: 2007-11-12T19:33:10+09:00 Subject: [ruby-dev:32234] Re: Integer#ord for 1.8 --pgp-sign-Multipart_Mon_Nov_12_19:33:14_2007-1 Content-Type: text/plain; charset=ISO-2022-JP At Sun, 11 Nov 2007 06:20:09 +0900, Tanaka Akira wrote: > 1.9 と 1.8 の両方で ?a.ord で 97 が得られるように、1.8 に > Integer#ord を加えるのはどうでしょうか。 " String#ord を追加してどちらでも 'a'.ord というのではいまいち ですかね。?a.ord と書きたい気持ちの方が強いかな。 -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Different eyes see different things, Different hearts beat on different strings -- But there are times for you and me when all such things agree" --pgp-sign-Multipart_Mon_Nov_12_19:33:14_2007-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHOCvqkgvvx5/Z4e4RAlsOAJ9mAPRP9ApneIZi3c4aicWOZdVFigCfbd+8 e27BEkTPdfGTyVNfAlQyo7M= =UGqk -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Nov_12_19:33:14_2007-1--