4 ms·
https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debuggerer.html https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debugger... is ruby gold for this kind o
by ptoomey3 3y ago
https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debuggerer.html https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debugger... is ruby gold for this kind of stuff. As a Ruby developer, probably one of the most impactful "quick tips" I've ever picked up is this:
foo.method(:bar).source_location
That is wildly useful when debugging/figuring out where the actual code for some method is at runtime.
- throwaway445232 3y ago[flagged]