NAME

Catmandu::Fix::sum - replace the value of an array field with the sum of its elements

SYNOPSIS

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

SEE ALSO

Catmandu::Fix