General

Profile

ian (Ian Bailey)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/27/2009

06:56 AM Ruby Bug #1317 (Rejected): Creating a range with strings
=begin
irb(main):027:0> Range.new("1", "10").to_a
=> ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
irb(main):028:0> Range.new("2", "10").to_a
=> []

The second result happens when the end of the range is greater numerica...
ian (Ian Bailey)

Also available in: Atom