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

ruby-changes:14134

From: yugui <ko1@a...>
Date: Fri, 27 Nov 2009 11:55:22 +0900 (JST)
Subject: [ruby-changes:14134] Ruby:r25948 (ruby_1_9_1): merges r25041 from trunk into ruby_1_9_1.

yugui	2009-11-27 11:55:08 +0900 (Fri, 27 Nov 2009)

  New Revision: 25948

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

  Log:
    merges r25041 from trunk into ruby_1_9_1.
    --
    * eval.c (rb_mod_define_method): Doc fix (accepts UnboundMethod too)

  Modified files:
    branches/ruby_1_9_1/proc.c
    branches/ruby_1_9_1/version.h

Index: ruby_1_9_1/proc.c
===================================================================
--- ruby_1_9_1/proc.c	(revision 25947)
+++ ruby_1_9_1/proc.c	(revision 25948)
@@ -1082,7 +1082,7 @@
  *     define_method(symbol) { block }   => proc
  *  
  *  Defines an instance 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. This block
  *  is evaluated using <code>instance_eval</code>, a point that is
  *  tricky to demonstrate because <code>define_method</code> is private.
Index: ruby_1_9_1/version.h
===================================================================
--- ruby_1_9_1/version.h	(revision 25947)
+++ ruby_1_9_1/version.h	(revision 25948)
@@ -1,5 +1,5 @@
 #define RUBY_VERSION "1.9.1"
-#define RUBY_PATCHLEVEL 349
+#define RUBY_PATCHLEVEL 350
 #define RUBY_VERSION_MAJOR 1
 #define RUBY_VERSION_MINOR 9
 #define RUBY_VERSION_TEENY 1

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

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