reverse(str)
Reverses codepoints in the string.
# File activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb, line 241 def reverse(str) u_unpack(str).reverse.pack('U*') end