From: Nobuyoshi Nakada Date: 2015-07-16T16:41:40+09:00 Subject: [ruby-core:69996] Re: $SAFE inside an Array On 2015/07/16 5:35, Bertram Scharpf wrote: >> The output is: >> >> >> insecure.rb:12:in `inspect': calling insecure method: inspect (SecurityError) >> from insecure.rb:12:in `
' >> >> Why is the first #inspect allowed but the second is not? >> Should I still use $SAFE at all? It is fixed in the trunk.