From: Charlie Savage Date: 2006-06-26T07:55:33+09:00 Subject: Re: ruby-prof-0.4.0 > #foo-1 is too, even if it's not directly callable and therefore very unlikely: > > RUBY_VERSION # => "1.8.4" > RUBY_RELEASE_DATE # => "2006-05-18" > class << self; define_method("foo-1"){ "foo-1" } end > send("foo-1") # => "foo-1" > I'm ok with this. The code checks to see if "foo-1" exists, and if it does, tries "foo-2", "foo-3", etc. So it should work ok. I suppose I could tack on the thread id instead, but I think it would be more obvious interpreting the results using this method. Charlie