From 3faee6520e582a866a2c306fe8725ba31e56cbda Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 1 Dec 2012 13:54:54 +0000 Subject: 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 --- time.c | 26 ++++---------------------- vm_method.c | 2 ++ 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. * -- cgit v1.2.3