method

reverse

v1_9_3_125 - Show latest stable - Class: String
reverse()
public

Returns a new string with the characters from str in reverse order.

"stressed".reverse   #=> "desserts"