diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-18 10:36:54 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-18 10:36:54 +0000 |
commit | 00b8bd5c877606ff0cbdc4a0afdf75cd9a3b61cb (patch) | |
tree | 49023b3b29299b3537d22fdce3fd0bdc2d5e7e4a /error.c | |
parent | 04f0de74dd22bc9e06b14d0c777d15fcde2e50a8 (diff) | |
download | ruby-00b8bd5c877606ff0cbdc4a0afdf75cd9a3b61cb.tar.gz |
* error.c, object.c, ext/readline/README.ja: [DOC] $SAFE=4 is obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1588,14 +1588,14 @@ syserr_eqq(VALUE self, VALUE exc) * * foo = "bar" * proc = Proc.new do - * $SAFE = 4 - * foo.gsub! "a", "*" + * $SAFE = 3 + * foo.untaint * end * proc.call * * <em>raises the exception:</em> * - * SecurityError: Insecure: can't modify string + * SecurityError: Insecure: Insecure operation `untaint' at level 3 */ /* |