We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f09c9f commit a188249Copy full SHA for a188249
doc/string/b.rdoc
@@ -12,3 +12,5 @@ the underlying bytes are not modified:
12
t = s.b # => "\xE4\x82\x95"
13
t.encoding # => #<Encoding:ASCII-8BIT>
14
t.bytes # => [228, 130, 149]
15
+
16
+Related: see {Converting to New String}[rdoc-ref:String@Converting+to+New+String].
string.c
@@ -11839,7 +11839,7 @@ rb_str_force_encoding(VALUE str, VALUE enc)
11839
11840
/*
11841
* call-seq:
11842
- * b -> string
+ * b -> new_string
11843
*
11844
* :include: doc/string/b.rdoc
11845
0 commit comments