Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • json/generator/generator.c

Methods

JSON::Ext::Generator::GeneratorMethods::TrueClass

Public Instance Methods

to_json(*) click to toggle source

Returns a JSON string for true: ‘true’.

 
               static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self)
{
    GENERATE_JSON(true);
}