diff options
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |