Hi,
In message "[ruby-talk:5877] Re: Integer(String) weirdness for a ruby newbie"
on 00/10/27, Mark Slagell <ms / iastate.edu> writes:
|I'd thought it was supposed to be the way it is. But given that, then
|the following looks wrong to me - is it correct behavior, and if not, is
|it perhaps caused by the same bug?
|
|ruby> Integer("0xff")
| 255
|ruby> Integer("0xff ")
| ERROR: (eval):1:in `Integer': invalid literal for Integer: 0xff
Another bug. sigh.
matz.