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

ruby-changes:30658

From: nobu <ko1@a...>
Date: Sat, 31 Aug 2013 13:30:44 +0900 (JST)
Subject: [ruby-changes:30658] nobu:r42736 (trunk): vm_method.c: [DOC] example of respond_to_missing?

nobu	2013-08-31 13:30:18 +0900 (Sat, 31 Aug 2013)

  New Revision: 42736

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

  Log:
    vm_method.c: [DOC] example of respond_to_missing?
    
    * vm_method.c (obj_respond_to_missing): [DOC] respond_to_missing? is
      used in the example of BasicObject.

  Modified files:
    trunk/vm_method.c
Index: vm_method.c
===================================================================
--- vm_method.c	(revision 42735)
+++ vm_method.c	(revision 42736)
@@ -1639,7 +1639,7 @@ obj_respond_to(int argc, VALUE *argv, VA https://github.com/ruby/ruby/blob/trunk/vm_method.c#L1639
  *  When the method name parameter is given as a string, the string is
  *  converted to a symbol.
  *
- *  See #respond_to?.
+ *  See #respond_to?, and the example of BasicObject.
  */
 static VALUE
 obj_respond_to_missing(VALUE obj, VALUE mid, VALUE priv)

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

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