From 1f09c9fa14b252928aaaee65c21b325f7a3d88cc Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Thu, 15 May 2025 14:51:27 -0500 Subject: [PATCH] [DOC] Tweaks for String#ascii_only? --- string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string.c b/string.c index e305b05c9b..08d98aa042 100644 --- a/string.c +++ b/string.c @@ -11901,12 +11901,12 @@ rb_str_valid_encoding_p(VALUE str) * call-seq: * ascii_only? -> true or false * - * Returns +true+ if +self+ contains only ASCII characters, - * +false+ otherwise: + * Returns whether +self+ contains only ASCII characters: * * 'abc'.ascii_only? # => true * "abc\u{6666}".ascii_only? # => false * + * Related: see {Querying}[rdoc-ref:String@Querying]. */ static VALUE