From: Inbroker Adams Date: 2008-04-26T01:20:29+09:00 Subject: Re: Array inject function problem Thanks so much guys. So the sum =[1,3,5].inject() {|sum, element| sum + element;} runs on both 1.8 and 1.9 right??? 1.9 Ruby is in beta? (haven't seen it yet) not on the official site neither on the netbeans 6.1 RC2 that i just installed -- Posted via http://www.ruby-forum.com/.