Why doesn't this ruby code do anything? : <p>I am running the following ruby code in my local environment:</p>

<pre><code>def multiples(max)
    array = []
    (0...max).each do |n|
        if (n % 3 == 0) || (n % 5 == 0)
            array &lt;&lt; n
        end
    end
    array.inject(:+)

end

multiples(1000)
</code></pre>

<p>and nothing happens at all.  My code looks good to me.  What's the issue here?</p>
