tantangan pengkodean ruby

In this problem, your objective is to reverse the order of the numbers in an 
array. For example, if your array was [8, 2, 9, 4], you would want your code 
to return [4, 9, 2, 8].
Zagham Abbas