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

ruby-changes:41805

From: nobu <ko1@a...>
Date: Sat, 20 Feb 2016 14:44:20 +0900 (JST)
Subject: [ruby-changes:41805] nobu:r53879 (trunk): Fix Module#module_eval rdoc [ci skip]

nobu	2016-02-20 14:44:52 +0900 (Sat, 20 Feb 2016)

  New Revision: 53879

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53879

  Log:
    Fix Module#module_eval rdoc [ci skip]
    
    * vm_eval.c (rb_mod_module_eval): [DOC] Fix documentation
      signature for Module#module_eval.  [Fix GH-1258]

  Modified files:
    trunk/ChangeLog
    trunk/vm_eval.c
Index: vm_eval.c
===================================================================
--- vm_eval.c	(revision 53878)
+++ vm_eval.c	(revision 53879)
@@ -1743,7 +1743,9 @@ rb_obj_instance_exec(int argc, const VAL https://github.com/ruby/ruby/blob/trunk/vm_eval.c#L1743
 /*
  *  call-seq:
  *     mod.class_eval(string [, filename [, lineno]])  -> obj
- *     mod.module_eval {|| block }                     -> obj
+ *     mod.class_eval {|mod| block }                   -> obj
+ *     mod.module_eval(string [, filename [, lineno]]) -> obj
+ *     mod.module_eval {|mod| block }                  -> obj
  *
  *  Evaluates the string or block in the context of _mod_, except that when
  *  a block is given, constant/class variable lookup is not affected. This
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53878)
+++ ChangeLog	(revision 53879)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb 20 14:44:15 2016  Lucas Buchala  <lucasbuchala@g...>
+
+	* vm_eval.c (rb_mod_module_eval): [DOC] Fix documentation
+	  signature for Module#module_eval.  [Fix GH-1258]
+
 Sat Feb 20 14:40:44 2016  Adam O'Connor  <northband@g...>
 
 	* README.md: a few grammatical changes to the main Ruby README.md.

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

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