Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ruby 3.2.0 Is from Another Dimension. Parent comment
https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debugger...
The relevant bit is under the heading:
> I’m calling a method, but I don’t know where it goes
def index p method(:render).source_location render params[:id] end
my_object.method(:my_method).source_location # returns path/to/file:[line number]
There are no comments on this comment yet.
https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debugger...
The relevant bit is under the heading:
> I’m calling a method, but I don’t know where it goes
It sounds like this is the answer to your monkey-patching woes.