From: Paul Brannan Date: 2002-04-19T04:36:03+09:00 Subject: Re: Object#send with $SAFE >= 1 On Fri, Apr 19, 2002 at 04:26:21AM +0900, Jason Voegele wrote: > Strange. I tried your example in irb and got following error. Perhaps my > irb is broken? A bug in Ruby? I don't have a 1.6.6 to test on, but I tested on Ruby 1.7 (CVS), 1.6.7, and 1.6.5. > irb(main):002:0> class Foo; def foo; puts "foo!"; end; end > SecurityError: Insecure operation - eval Looks like you are getting the SecurityError before the call to send(). Perhaps you have modified your irb in some way? Paul