From: Shendelzare Silkwood Date: 2008-03-26T23:19:18+09:00 Subject: The inject function I want to add together numbers in an array with the inject command. I want only the even numbers using only inject. So, something like [1,2,3,4].inject.....but don't know what to do so help! Second, I need to reverse an array using only the inject command. So, something like above with the result [4,3,2,1] I'm confused...help! -- Posted via http://www.ruby-forum.com/.