Skip to content

Commit 1f09c9f

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Tweaks for String#ascii_only?
1 parent c5c252c commit 1f09c9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

string.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11901,12 +11901,12 @@ rb_str_valid_encoding_p(VALUE str)
1190111901
* call-seq:
1190211902
* ascii_only? -> true or false
1190311903
*
11904-
* Returns +true+ if +self+ contains only ASCII characters,
11905-
* +false+ otherwise:
11904+
* Returns whether +self+ contains only ASCII characters:
1190611905
*
1190711906
* 'abc'.ascii_only? # => true
1190811907
* "abc\u{6666}".ascii_only? # => false
1190911908
*
11909+
* Related: see {Querying}[rdoc-ref:String@Querying].
1191011910
*/
1191111911

1191211912
static VALUE

0 commit comments

Comments
 (0)