I\'m new to ruby and I\'m trying to make a method that gets the sum of all the positive numbers any array of numbers. Here is an example:
arr=(1,3,-1,7,4,-9,0