Re: Fun with ranges!


Double-strange… I wonder if it’s a windows thing
or a version thing (and if so why it only pops up
somewhere between 1.8.0 and 1.8.3).

Interesting – it seems to be a 1.8.2 thing.

It's also an irb thing:

ruby -ve “‘a’…3”
ruby 1.8.2 (2004-12-25) [i386-mswin32]
-e:1: warning: useless use of … in void context

irb(main):001:0> ‘a’…3
=> “a”…3

- Warren B.