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 c5c252c commit 1f09c9fCopy full SHA for 1f09c9f
string.c
@@ -11901,12 +11901,12 @@ rb_str_valid_encoding_p(VALUE str)
11901
* call-seq:
11902
* ascii_only? -> true or false
11903
*
11904
- * Returns +true+ if +self+ contains only ASCII characters,
11905
- * +false+ otherwise:
+ * Returns whether +self+ contains only ASCII characters:
11906
11907
* 'abc'.ascii_only? # => true
11908
* "abc\u{6666}".ascii_only? # => false
11909
+ * Related: see {Querying}[rdoc-ref:String@Querying].
11910
*/
11911
11912
static VALUE
0 commit comments