summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-02 19:24:14 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-02 19:24:14 +0000
commitbe5a436f13ac9ebc2fcc1f2cc690cf420c83da59 (patch)
tree56f455e55999520438cbba250c662458697066e1
parent04cf3fa3468dd4948ca453dfa730d52341a270e0 (diff)
* doc/syntax/refinements.rdoc: Remove mention of instance_eval and
module_eval from scope section per: http://twitter.com/shugomaeda/status/363219951336693761 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 67b3e043..f80088d 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 752f668..1a516ed 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