From: Love U Ruby Date: 2013-05-18T19:33:18+09:00 Subject: Re: Need help for Kernel methods From the doc: http://www.ruby-doc.org/core-2.0/Kernel.html#method-i-caller_locations caller_locations(start=1, length=nil) → array or nil click to toggle source caller_locations(range) → array or nil *Returns the current execution stack—an array containing backtrace location objects. *The optional start parameter determines the number of initial stack entries to omit from the top of the stack. *A second optional length parameter can be used to limit how many entries are returned from the stack. *Returns nil if start is greater than the size of current execution stack. Could anyone give me small snippets to understand this methods? Thanks -- Posted via http://www.ruby-forum.com/.