最佳答案
我想知道我是否可以得到一个动态的源代码方法,以及我是否可以得到哪个文件是这个方法在。
喜欢
A.new.method(:a).SOURCE_CODE
A.new.method(:a).FILE