From: SASADA Koichi Date: 2009-06-12T08:28:53+09:00 Subject: [ruby-core:23812] Re: [Bug #977] caller for all threads patch Roger Pack wrote:: >> Roger Pack wrote:: >>> I really like it. >>> Appears that it wants default to be level 0 [?] >> Thank you for your notice. >> >> I've change my thought. Thread#backtrace() is more proffered name. >> >> - On Thread#caller(lev), nobody may use lev (!= 0) >> - Deciding the semantics of lev except zero may be difficult > > That sounds better. Then the semantics for caller never change. So > this would be Thread#backtrace can have lev > 0? > Either way's good for me. No. Same as Exception#backtrace. How about it, matz? -- // SASADA Koichi at atdot dot net