aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--doc/syntax/refinements.rdoc5
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 67b3e0432b..f80088d4de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Aug 3 04:23:48 2013 Eric Hodel <drbrain@segment7.net>
+
+ * 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@fsij.org>
* bignum.c (big2str_orig): Refactored.
diff --git a/doc/syntax/refinements.rdoc b/doc/syntax/refinements.rdoc
index 752f668923..1a516ed8b2 100644
--- a/doc/syntax/refinements.rdoc
+++ b/doc/syntax/refinements.rdoc
@@ -50,9 +50,8 @@ Activate the refinement with #using:
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