summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-08 05:56:01 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-08 05:56:01 +0000
commit7b0463957349fe8ea5c7c421c13654654aecd1d7 (patch)
treeab3c66532b00cdd52ca99179315492214a332ad0 /NEWS
parenta9a4da925c2a22f5bbbf2e93a155211b68fb7079 (diff)
* NEWS: add description of incompatibility introduced by r42396.
[ruby-core:56329] [Bug #8722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 61b646d194..0ee63b446e 100644
--- a/NEWS
+++ b/NEWS
@@ -76,6 +76,13 @@ with all sufficient information, see the ChangeLog file.
* incompatible changes:
* open ignore internal encoding if external encoding is ASCII-8BIT.
+* Kernel#eval, Kernel#instance_eval, and Module#module_eval.
+ * Copies the scope information of the original environment, which means
+ that private, protected, public, and module_function without arguments
+ do not affect the environment outside the eval string.
+ For example, `class Foo; eval "private"; def foo; end; end' doesn't make
+ Foo#foo private.
+
* Kernel#untrusted?, untrust, and trust
* These methods are deprecated and their behavior is same as tainted?,
taint, and untaint, respectively. If $VERBOSE is true, they show warnings.