让这个方法出错,然后在backtrace中就可以找到它是在哪里定义的了 ^_^ ( make error on this method on purpose, e.g. pass incorrect parameters, and you will see where it is defined )
Ruby中最牛找方法定义的办法。(thestrongestwaytofindwherearubymethoddefined)
This post is licensed under
CC BY 4.0
by the author.