From: sto.mar@... Date: 2013-07-28T06:42:57+09:00 Subject: Re: Difference between Kernel#caller and Kernel#caller_locations Am 27.07.2013 23:13, schrieb Ryan Davis: > > On Jul 27, 2013, at 13:43 , Love U Ruby wrote: > >> I am bit confused with the methods >> `Kernel#caller`(http://www.ruby-doc.org/core-2.0/Kernel.html#method-i-caller) >> and >> `Kernel#caller_locations`(http://www.ruby-doc.org/core-2.0/Kernel.html#method-i-caller_locations). >> Are there any differences between these 2 methods? > > You mean... the same answer to the same question you asked in May? > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/407506 To be fair: I don't think this aspect has been answered in that thread, and it really is not so easy to spot in irb output (since Thread::Backtrace::Location#inspect produces the same output as the strings returned when using Kernel#caller). > I really wish you'd stop abusing this list and learn how to learn on your own. [snip] I think it has improved a lot in the past months. Best regards, Marcus -- GitHub: https://github.com/stomar/ PGP: 0x6B3A101A