[前][次][番号順一覧][スレッド一覧]

ruby-changes:26067

From: nobu <ko1@a...>
Date: Sat, 1 Dec 2012 22:55:03 +0900 (JST)
Subject: [ruby-changes:26067] nobu:r38124 (trunk): time.c, vm_method.c: update rdoc

nobu	2012-12-01 22:54:54 +0900 (Sat, 01 Dec 2012)

  New Revision: 38124

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38124

  Log:
    time.c, vm_method.c: update rdoc
    
    * time.c (time_{mdump,dump,mload,load): update rdoc.
    
    * vm_method.c (obj_respond_to_missing): ditto.

  Modified files:
    trunk/time.c
    trunk/vm_method.c

Index: time.c
===================================================================
--- time.c	(revision 38123)
+++ time.c	(revision 38124)
@@ -4612,10 +4612,7 @@
     return str;
 }
 
-/*
- * undocumented
- */
-
+/* :nodoc: */
 static VALUE
 time_mdump(VALUE time)
 {
@@ -4713,13 +4710,7 @@
     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 @@
     return str;
 }
 
-/*
- * undocumented
- */
-
+/* :nodoc: */
 static VALUE
 time_mload(VALUE time, VALUE str)
 {
@@ -4851,13 +4839,7 @@
     return time;
 }
 
-/*
- * call-seq:
- *   Time._load(string)   -> time
- *
- * Unmarshal a dumped Time object.
- */
-
+/* :nodoc: */
 static VALUE
 time_load(VALUE klass, VALUE str)
 {
Index: vm_method.c
===================================================================
--- vm_method.c	(revision 38123)
+++ vm_method.c	(revision 38124)
@@ -1505,6 +1505,8 @@
  *  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.
  *

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]