method

reverse

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

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

   "stressed".reverse   #=> "desserts"