Module JSON::Ext::Generator::GeneratorMethods::Integer
In: ext/json/ext/generator/generator.c

Methods

to_json  

Public Instance methods

Returns a JSON string representation for this Integer number.

[Source]

/*
 * call-seq: to_json(*)
 *
 * Returns a JSON string representation for this Integer number.
 */
static VALUE mInteger_to_json(int argc, VALUE *argv, VALUE self)
{
    return rb_funcall(self, i_to_s, 0);
}

[Validate]