Use 2 (not 0) spaces for indentation.<br>Name reduce block arguments |a, e| (accumulator, element).<br>Space between { and | missing.<br>Space missing inside }.