From: Nit Khair Date: 2008-11-27T16:38:35+09:00 Subject: Re: Alternatives to ?\C-n, ?\M-a etc in ruby 1.9 > > why not create your own String#ord func? > > i think string#ord works for both 1.8.7 and 1.9, so you just have to > create one for 1.8.6 I *am* on 1.8.7: irb(main):334:0> "a".ord NoMethodError: undefined method `ord' for "a":String from (irb):334 -- Posted via http://www.ruby-forum.com/.