Issue #5607 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to duerst (Martin Dürst)

Martin-sensei,

I tentatively assign this ticket to you.
If you give up, please set the assignee to another person,
or let make it a blank.  Take it easy.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Feature #5607: Inconsistent reaction in Range of String
https://bugs.ruby-lang.org/issues/5607#change-25256

Author: maso (Yen-Nan Lin)
Status: Assigned
Priority: Normal
Assignee: duerst (Martin Dürst)
Category: 
Target version: 


=begin
When I tried to access excel file, I found some inconsistent behavior about range of string. 

ruby-1.9.3-p0 :001 > ("A".."AB").to_a
 => ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "AA", "AB"]

This behavior is as what I thought.

ruby-1.9.3-p0 :002 > ("X".."AB").to_a
 => []

However, I tried to access "X" to "AB", and its reaction is inconsistent with above example.

I hope that behavior would be consistent in future release.

Thanks!
=end



-- 
http://bugs.ruby-lang.org/