Catmandu::Fix::sum(3) replace the value of an array field with the sum of it's elements

SYNOPSIS


# e.g. numbers => [2, 3]
sum(numbers)
# numbers => 5