From: Tom Cloyd Date: 2009-05-13T10:34:27+09:00 Subject: Re: Whaaaaat? Robert Dober wrote: > On Wed, May 13, 2009 at 1:57 AM, Tom Cloyd wrote: > >> Why can't ruby just do what I mean, rather than what I say? Is that asking >> too much? (heh heh) >> > But it does, I am sure you just forgot the *, right? > [*0..5].include? 42 > --> false > Cheers > Robert > > > Robert, Interesting, but obscure. I just did a quick dig into Thomas (Pickaxe, 3rd ed.), to try to figure out what [*1..5] does, and I still don't get it. Can you explain? 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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~