News for hackers. Stuff that matters.
Re:Show HN: Compile Ruby to C by Lio on Monday September 21, 2020 @03:25AM (#24540730)
This doesn’t answer all of your points but in terms of finding out where something is defined you can turn a method into a Proc and then ask it. Eg

  some_instance.method(:foo).source_location
There’s a similar method for source definition. Both are useful dealing with over use of meta-programming.

There are no comments on this comment yet.