From 5dcc4617a5263ea7ef418c4e41e92c6af167c3f5 Mon Sep 17 00:00:00 2001 From: Sho Hashimoto Date: Tue, 8 Jan 2019 00:34:39 +0900 Subject: fix JSON::Generator::State#ascii_only? document same as lib/json/pure/generator.rb. --- ext/json/ext/generator/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c index 2bf8074..a15f653 100644 --- a/ext/json/ext/generator/generator.c +++ b/ext/json/ext/generator/generator.c @@ -1267,7 +1267,7 @@ static VALUE cState_allow_nan_p(VALUE self) /* * call-seq: ascii_only? * - * Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise + * Returns true, if only ASCII characters should be generated. Otherwise * returns false. */ static VALUE cState_ascii_only_p(VALUE self) -- cgit v1.2.1