Tom Cloyd
1/18/2009 2:40:00 AM
Brian Candler wrote:
> RK Sentinel wrote:
>
>> str[0] no longer gives a Fixnum. So now the reader is wondering: how do
>> i get my Fixnum.
>>
>
> "a".ord
>
>>> 97
>>>
And that, folks, is how I EXPECTED things to work, when I first came to
Ruby.
t.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< tc@tomcloyd.com >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~