From: Adam Shelly Date: 2005-12-03T11:49:02+09:00 Subject: Re: Range oddity oops, my bad. On 12/2/05, David A. Black wrote: > Hi -- > > On Sat, 3 Dec 2005, Adam Shelly wrote: > > > Why can I create a Range where one end is a String and the other is an > > Array? I can't do anything with it. I get an error if I create an > > Fixnum..Array range, why don't I get one for the String..Array? > > That seems to be fixed in 1.8.3: > $ ruby -ve 'a = "1"..["10"]' > ruby 1.8.3 (2005-09-21) [powerpc-darwin8.3.0] > -e:1: bad value for range (ArgumentError) > > > David > > -- > David A. Black > dblack@wobblini.net > > "Ruby for Rails", forthcoming from Manning Publications, April 2006! > >