Yuri Leikind <YuriLeikind / scnsoft.com> writes:

> Can't find the equivalent of Perl ord() in
> Ruby. There's chr(), though.
> 
> It's probably in front of my eyes, but ...

Perl:
  ord('c')          # ==> 99

Ruby:
  ?c                # ==> 99

-- 
Chris