From: Yukihiro Matsumoto Date: 2009-08-17T07:20:17+09:00 Subject: Re: Bizarre Range behavior Hi, In message "Re: Bizarre Range behavior" on Thu, 6 Aug 2009 01:30:57 +0900, Rick DeNatale writes: |Well my vote is to cook it to use the methods of the endpoints rather |than doing something special IF the endpoints are strings and both |happen to be numerical. That seems as half cooked to me as the |current situation. Well, since it's a magic, we need to draw some line according to the trade-offs. |And if you follow the "if they're numerical" path what do you do about |things like | |("0x32".."0xFE").to_a |("032".."0100").to_a |("032".."0x32").to_a Since #succ does not treat 0x32 etc. specially, I don't think we need to consider them as numerical. I am not going to add magic anywhere but it has already existed. matz.