summaryrefslogtreecommitdiff
path: root/ext/json/ext/generator/generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/ext/generator/generator.c')
-rw-r--r--ext/json/ext/generator/generator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c
index 94e59f77fc..c6c63c1a5e 100644
--- a/ext/json/ext/generator/generator.c
+++ b/ext/json/ext/generator/generator.c
@@ -409,7 +409,7 @@ static VALUE mString_Extend_json_create(VALUE self, VALUE o) {
}
/*
- * call-seq: to_json(state = nil, depth = 0)
+ * call-seq: to_json(*)
*
* Returns a JSON string for true: 'true'.
*/
@@ -421,7 +421,7 @@ static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self)
}
/*
- * call-seq: to_json(state = nil, depth = 0)
+ * call-seq: to_json(*)
*
* Returns a JSON string for false: 'false'.
*/
@@ -433,7 +433,7 @@ static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self)
}
/*
- * call-seq: to_json(state = nil, depth = 0)
+ * call-seq: to_json(*)
*
*/
static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)