# File lib/active_support/multibyte/handlers/utf8_handler.rb, line 220 def rstrip(str) str.gsub(UNICODE_TRAILERS_PAT, '') end