Method: JSON::Ext::Generator::State#space=

Defined in:
generator/generator.c

#space=(space) ⇒ Object

Sets space to the string that is used to insert a space between the tokens in a JSON string.



1208
1209
1210
1211
1212
1213
# File 'generator/generator.c', line 1208

static VALUE cState_space_set(VALUE self, VALUE space)
{
    GET_STATE(self);
    RB_OBJ_WRITE(self, &state->space, string_config(space));
    return Qnil;
}