From: Hugh Sasse Staff Elec Eng Date: 2004-12-03T00:19:41+09:00 Subject: Re: nested defs, what if... On Thu, 2 Dec 2004, Austin Ziegler wrote: > irb(main):007:0> Thingy.instance_methods.grep(/func/) > => ["somefunc"] > irb(main):009:0> Thingy.new.somefunc > => nil > irb(main):010:0> Thingy.instance_methods.grep(/func/) > => ["newfunc", "somefunc"] OH!! This didn't work in the past. I never noticed it change. I'll have to see what happens when it depends on variable values then ... Hugh (somewhat embarrassed)