Search
Ruby provides the reverse method to reverse a string.
reverse
Run the code below to print the string in the reverse order.