From: Martin DeMello Date: 2003-08-05T03:56:42+09:00 Subject: Re: [ANN] ruby 1.8.0 Ben Giddings wrote: > > String#to_i > > Now accepts optional base argument. > > "101".to_i(10) => 101 > "101".to_i(2) => 5 > "101".to_i(8) => 65 > "101".to_i(16) => 257 > > Yay! This is great. All your base are belong to us!!! I really like this feature too - one fewer unexamined assumption. Hard to say what my favourite new feature is - probably Array#inject, but I'd already defined that following the Pickaxe. And congratulations on the release, Matz and other contributors. martin