解决方法
http://apidock.com/ruby/Kernel/caller
caller(0) # Returns the stack trace,omitting 0 initial entry.
caller(0) # Returns the stack trace,omitting 0 initial entry.