Issue #2323 has been updated by Motohiro KOSAKI.


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

Author: Hiro Asari
Status: Assigned
Priority: Low
Assignee: Yukihiro Matsumoto
Category: core
Target version: 2.0.0


=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/