summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 13:54:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-01 13:54:54 +0000
commit3faee6520e582a866a2c306fe8725ba31e56cbda (patch)
tree75debd47f84e9867b5afbdad570971ac62b0a3fa
parentccebd9b016c31d3c5f7ed55eb60066fa9425a439 (diff)
time.c, vm_method.c: update rdoc
* time.c (time_{mdump,dump,mload,load): update rdoc. * vm_method.c (obj_respond_to_missing): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--time.c26
-rw-r--r--vm_method.c2
2 files changed, 6 insertions, 22 deletions
diff --git a/time.c b/time.c
index 19517a785d..846ff3db16 100644
--- a/time.c
+++ b/time.c
@@ -4612,10 +4612,7 @@ time_strftime(VALUE time, VALUE format)
return str;
}
-/*
- * undocumented
- */
-
+/* :nodoc: */
static VALUE
time_mdump(VALUE time)
{
@@ -4713,13 +4710,7 @@ time_mdump(VALUE time)
return str;
}
-/*
- * call-seq:
- * time._dump -> string
- *
- * Dump _time_ for marshaling.
- */
-
+/* :nodoc: */
static VALUE
time_dump(int argc, VALUE *argv, VALUE time)
{
@@ -4731,10 +4722,7 @@ time_dump(int argc, VALUE *argv, VALUE time)
return str;
}
-/*
- * undocumented
- */
-
+/* :nodoc: */
static VALUE
time_mload(VALUE time, VALUE str)
{
@@ -4851,13 +4839,7 @@ end_submicro: ;
return time;
}
-/*
- * call-seq:
- * Time._load(string) -> time
- *
- * Unmarshal a dumped Time object.
- */
-
+/* :nodoc: */
static VALUE
time_load(VALUE klass, VALUE str)
{
diff --git a/vm_method.c b/vm_method.c
index 9727a2ada8..4b4be139a7 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1505,6 +1505,8 @@ obj_respond_to(int argc, VALUE *argv, VALUE obj)
* call-seq:
* obj.respond_to_missing?(symbol, include_all) -> true or false
*
+ * DO NOT USE THIS DIRECTLY.
+ *
* Hook method to return whether the _obj_ can respond to _id_ method
* or not.
*