Thx for ur response Sam
For the first issue indeed (newbie to ruby ;)

For the second happy there is a fix.
But i don't understand.
For what i've read inject combines all element of an array by applying a 
method or block on each
How come inject uses the Numeric#+ instead of my Item#+ since all 
elements are items???????
That puzzled me

Does someone understands that? It don't make sens to me

-- 
Posted via http://www.ruby-forum.com/.