1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2012-12-01 13:54:54 +00:00
parent ccebd9b016
commit 3faee6520e
2 changed files with 6 additions and 22 deletions

26
time.c
View file

@ -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)
{

View file

@ -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.
*