From: matz@... (Yukihiro Matsumoto) Date: 2003-01-29T15:49:50+09:00 Subject: Re: $SAFE level mutation for tained classes Hi, In message "$SAFE level mutation for tained classes" on 03/01/29, Gennady writes: |What is the rationale behind the following change in SAFE level when |invoking a method with "call": | |class Test | attr_accessor :value | def show | "Safe level: #{$SAFE}" | end |end | |Test.taint |t = Test.new | |p t.show # ==> Safe level: 0 |p t.method(:show).call # ==> Safe level: 4 Method objects are tainted if they retrieved from tainted objects. It may be overkill. Let me re-think. matz.