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

ruby-changes:30293

From: drbrain <ko1@a...>
Date: Sat, 3 Aug 2013 04:24:26 +0900 (JST)
Subject: [ruby-changes:30293] drbrain:r42345 (trunk): * doc/syntax/refinements.rdoc: Remove mention of instance_eval and

drbrain	2013-08-03 04:24:14 +0900 (Sat, 03 Aug 2013)

  New Revision: 42345

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

  Log:
    * doc/syntax/refinements.rdoc:  Remove mention of instance_eval and
      module_eval from scope section per:
      http://twitter.com/shugomaeda/status/363219951336693761

  Modified files:
    trunk/ChangeLog
    trunk/doc/syntax/refinements.rdoc

Index: doc/syntax/refinements.rdoc
===================================================================
--- doc/syntax/refinements.rdoc	(revision 42344)
+++ doc/syntax/refinements.rdoc	(revision 42345)
@@ -50,9 +50,8 @@ Activate the refinement with #using: https://github.com/ruby/ruby/blob/trunk/doc/syntax/refinements.rdoc#L50
 
 You may only activate refinements at top-level, not inside any class, module
 or method scope.  You may activate refinements in a string passed to
-Kernel#eval, Kernel#instance_eval or Kernel#module_eval that is evaluated at
-top-level.  Refinements are active until the end of the file or the end of the
-eval string, respectively.
+Kernel#eval that is evaluated at top-level.  Refinements are active until the
+end of the file or the end of the eval string, respectively.
 
 Refinements are lexical in scope.  When control is transferred outside the
 scope the refinement is deactivated.  This means that if you require or load a
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42344)
+++ ChangeLog	(revision 42345)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Aug  3 04:23:48 2013  Eric Hodel  <drbrain@s...>
+
+	* doc/syntax/refinements.rdoc:  Remove mention of instance_eval and
+	  module_eval from scope section per:
+	  http://twitter.com/shugomaeda/status/363219951336693761
+
 Sat Aug  3 02:22:05 2013  Tanaka Akira  <akr@f...>
 
 	* bignum.c (big2str_orig): Refactored.

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

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