Issue #2323 has been updated by yhara (Yutaka HARA).

Target version changed from 2.0.0 to next minor


----------------------------------------
Feature #2323: "Z".."Z".succ????
https://bugs.ruby-lang.org/issues/2323#change-31513

Author: hasari (Hiro Asari)
Status: Assigned
Priority: Low
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: next minor


=begin
 surfboard:~$ ruby1.9 -v; ruby1.9 -e 'p ("Z".."Z".succ); p ("Z".."Z".succ).to_a'
 ruby 1.9.2dev (2009-11-02 trunk 25625) [x86_64-darwin10.0.0]
 "Z".."AA"
 []
 
 "Z".succ??????????????????????????????????????Range???????????????????????????"AA"?????????????????????????
 
 surfboard:~$ ruby1.9 -e 'p ("Z".."ZA").include? "Z".succ'
 true
 
 ???????端?????????????????????????????
 
 surfboard:~$ ruby1.9 -e 'p ("Z".."CA").include? "Z".succ'
 false
 
 to_a??????????????????????
 
 surfboard:~$ ruby1.9 -e 'p ("Z".."ZA").to_a.include? "Z".succ'
 true
 surfboard:~$ ruby1.9 -e 'p ("Z".."CA").to_a.include? "Z".succ'
 false
=end



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