summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 20:37:06 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 20:37:06 +0000
commite662770dc990a29c0182e8d043b6a5d72cc53f9c (patch)
tree4f538aa59d03bac41e9cfdd5c727c8e5c51a8de7 /ext/json
parent036c701bad168a86fd834c2b1a6ec102556963a0 (diff)
* ext/json/ext/generator/generator.c: Documention patch by okkez.
[Bug #2075] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json')
-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 94e59f7..c6c63c1 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)