[DOC] Tweak for String#dump

This commit is contained in:
BurdetteLamar 2025-07-22 13:58:14 -05:00 committed by Peter Zhu
parent 45e65f55bc
commit 7ca3b38a95

View file

@ -460,8 +460,7 @@
# #
# _Substitution_ # _Substitution_
# #
# - #dump: Returns a copy of +self+ with all non-printing characters replaced by \xHH notation # - #dump: Returns a printable version of +self+, enclosed in double-quotes.
# and all special characters escaped.
# - #undump: Returns a copy of +self+ with all <tt>\xNN</tt> notations replaced by <tt>\uNNNN</tt> notations # - #undump: Returns a copy of +self+ with all <tt>\xNN</tt> notations replaced by <tt>\uNNNN</tt> notations
# and all escaped characters unescaped. # and all escaped characters unescaped.
# - #sub: Returns a copy of +self+ with the first substring matching a given pattern # - #sub: Returns a copy of +self+ with the first substring matching a given pattern