Forum: Ruby Re: Fun with ranges!

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dbda3094a2f929a0658bedd4e0787a56?d=identicon&s=25 warrenbrown (Guest)
on 2005-11-28 17:06
(Received via mailing list)
>> 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
irb(main):001:0> 'a'..3
=> "a"..3

    - Warren Brown
This topic is locked and can not be replied to.