Alphabetize problem

def alphabetize(arr, ref=false)

numbers = [1,2,3,4,5,6,7,8,9,0]
 arr.sort!
puts arr.numbers 

end

#???

The array should not be inside the function.

alphabetize(numbers)
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.