For me i could not think of better way but i believe there is one. Is there a ruby way (meaning: elegant way) to do the following method implementation?

```
def total(items)
  sum = 0
  items.each do |item|
    sum += item.value
  end
  sum
end

```