you can not use each to modify data as return valu...
# puppet
m
you can not use each to modify data as return value. you should use reduce instead.