Ad
  • Default User Avatar

    You're corerct. That is indeed redundant.
    I've being using array.reduce(:+) in the past, which would return 'nil'.
    Carried over that practice with array.sum as well.