https://stackoverflow.com/questions/3393096/how-can-i-get-source-code-of-a-method-dynamically-and-also-which-file-is-this-me
$ rails console
> require 'method_source'
> I18n::Backend::Simple.instance_method(:lookup).source.display
No comments:
Post a Comment