Skip to content

Commit 7ca3b38

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Tweak for String#dump
1 parent 45e65f5 commit 7ca3b38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/string.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,7 @@
460460
#
461461
# _Substitution_
462462
#
463-
# - #dump: Returns a copy of +self+ with all non-printing characters replaced by \xHH notation
464-
# and all special characters escaped.
463+
# - #dump: Returns a printable version of +self+, enclosed in double-quotes.
465464
# - #undump: Returns a copy of +self+ with all <tt>\xNN</tt> notations replaced by <tt>\uNNNN</tt> notations
466465
# and all escaped characters unescaped.
467466
# - #sub: Returns a copy of +self+ with the first substring matching a given pattern

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy