From: 7stud -- Date: 2011-07-24T06:52:49+09:00 Subject: Re: Top level function definition gets in Kernel module? Aargh. $$ head -n6 ruby.rb def test_fun end puts Object.instance_methods.grep(/^t/).sort puts '-' * 20 puts Kernel.methods.grep(/^t/).sort $multiruby ruby.rb VERSION = 1.8.6-p420 CMD = ~/.multiruby/install/1.8.6-p420/bin/ruby ruby.rb taint tainted? to_a to_s type -------------------- taint tainted? test throw to_a to_s trace_var trap type RESULT = pid 92608 exit 0 VERSION = 1.8.7-p352 CMD = ~/.multiruby/install/1.8.7-p352/bin/ruby ruby.rb taint tainted? tap to_a to_enum to_s type -------------------- taint tainted? tap test throw to_a to_enum to_s trace_var trap type RESULT = pid 92609 exit 0 VERSION = 1.9.1-p431 CMD = ~/.multiruby/install/1.9.1-p431/bin/ruby ruby.rb taint tainted? tap to_enum to_s trust -------------------- taint tainted? tap test throw to_enum to_s trace_var trap trust RESULT = pid 92610 exit 0 VERSION = 1.9.2-p290 CMD = ~/.multiruby/install/1.9.2-p290/bin/ruby ruby.rb taint tainted? tap to_enum to_s trust -------------------- taint tainted? tap test throw to_enum to_s trace_var trap trust RESULT = pid 92611 exit 0 TOTAL RESULT = 0 failures out of 4 Passed: 1.8.6-p420, 1.8.7-p352, 1.9.1-p431, 1.9.2-p290 Failed: -- Posted via http://www.ruby-forum.com/.