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

ruby-changes:13283

From: marcandre <ko1@a...>
Date: Wed, 23 Sep 2009 04:02:51 +0900 (JST)
Subject: [ruby-changes:13283] Ruby:r25045 (trunk): * proc.c (rb_mod_define_method): doc fix

marcandre	2009-09-23 04:02:42 +0900 (Wed, 23 Sep 2009)

  New Revision: 25045

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

  Log:
    * proc.c (rb_mod_define_method): doc fix

  Modified files:
    trunk/proc.c

Index: proc.c
===================================================================
--- proc.c	(revision 25044)
+++ proc.c	(revision 25045)
@@ -1288,7 +1288,7 @@
  *     define_singleton_method(symbol) { block } => proc
  *
  *  Defines a singleton method in the receiver. The _method_
- *  parameter can be a +Proc+ or +Method+ object.
+ *  parameter can be a +Proc+, a +Method+ or an +UnboundMethod+ object.
  *  If a block is specified, it is used as the method body. 
  *
  *     class A

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

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