Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v3.2.13) is shown here.
rstrip()
public
Strips entire range of Unicode whitespace from
the right of the string.
# File activesupport/lib/active_support/multibyte/chars.rb, line 176
def rstrip
chars(@wrapped_string.gsub(Unicode::TRAILERS_PAT, ''))
end