Need help!


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

```

def alphabetize(arr, rev=false)
alphabetize[0].sort!
if rev==true
return alphabetize[0].reverse!
end
end

alphabetize
numbers = [3, 7, 9, 11, 13]

puts alphabetize(number)

I get: wrong number of arguments (0 for 1)

every time i run this code, why?

<do not remove the three backticks above>

#2

On the third last line, you are calling alphabetize method, but not providing it any arguments. You should be doing:

# delete alphabetize
numbers = [3, 7, 9, 11, 13]  
alphabetize(numbers) # add this line
puts alphabetize(number)