1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[flori/json] Add ascii_only option to JSON::Ext::Generator::State.new.

https://github.com/flori/json/commit/0e99a9aac5
This commit is contained in:
Sho Hashimoto 2019-01-08 09:12:05 +09:00 committed by Nobuyoshi Nakada
parent 98a9445db9
commit 308bbb4e10
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -1025,6 +1025,8 @@ static VALUE cState_generate(VALUE self, VALUE obj)
* * *allow_nan*: true if NaN, Infinity, and -Infinity should be
* generated, otherwise an exception is thrown, if these values are
* encountered. This options defaults to false.
* * *ascii_only*: true if only ASCII characters should be generated. This
* ontions defaults to false.
* * *buffer_initial_length*: sets the initial length of the generator's
* internal buffer.
*/