From: Nathaniel Talbott Date: 2003-10-07T10:17:20+09:00 Subject: Re: Enumerable#inject is surprising me... nobu.nokada@softhome.net [mailto:nobu.nokada@softhome.net] wrote: > > ['a'].inject(''){break 'b'} # => 'b' > > But this doesn't work as Nathaniel expected. It returns last > iteration value, "". I just tried this on both 1.8.0 and the latest CVS, and it appears to have been introduced post-1.8.0. I didn't want anyone to panic when they couldn't reproduce the problem :-) Nathaniel <:((><