Method: JSON::Ext::Generator::State#ascii_only=
- Defined in:
- ext/json/ext/generator/generator.c
#ascii_only=(enable) ⇒ Object
This sets whether only ASCII characters should be generated.
1567 1568 1569 1570 1571 1572 |
# File 'ext/json/ext/generator/generator.c', line 1567
static VALUE cState_ascii_only_set(VALUE self, VALUE enable)
{
GET_STATE(self);
state->ascii_only = RTEST(enable);
return Qnil;
}
|