Range#step - strange behavior with alpha range, numeric step
------------------------------------------------------------
Key: JRUBY-1423
URL: http://jira.codehaus.org/browse/JRUBY-1423
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Environment: OS X, java 1.5, ruby 1.8.5 (2007-10-11 rev 3876)
[i386-jruby1.1]
Reporter: Daniel Berger
Priority: Minor
I'm not sure where's it's getting the "w" from. Should just be "a".
irb(main):001:0> r = Range.new('a', 'd')
=> "a".."d"
irb(main):002:0> r.step(100){ |e| p e }
"a"
"cw"
=> "a".."d"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email