summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2011-06-09 13:40:11 +0200
committerFlorian Frank <flori@ping.de>2011-06-09 13:40:11 +0200
commit8208d3f3936968ef6e853b1e2621bc0f3d4b1445 (patch)
tree98d2c6c47bd9bba4751560bd68076ea78b65c537 /ext/json
parent5bdc3ea455aca457022684a60040a936390deac5 (diff)
downloadjson-8208d3f3936968ef6e853b1e2621bc0f3d4b1445.tar.gz
Apply patch by Cory Monty <cory.monty@gmail.com>.
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/ext/generator/generator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c
index 6505882..f71eebb 100644
--- a/ext/json/ext/generator/generator.c
+++ b/ext/json/ext/generator/generator.c
@@ -561,6 +561,7 @@ static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self)
/*
* call-seq: to_json(*)
*
+ * Returns a JSON string for nil: 'null'.
*/
static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)
{