Jump to content

Ruby

From FVue
https://news.ycombinator.com/item?id=38688453
Hacker news thread about Ruby love/hate. Takeaways:
  • "you can do object.method(:supports_feature).source_location to inspect where supports_feature-method comes from"
  • Alternatively "You need to use your knowledge that the method name works and that method_missing is how such things are done, and then you do object.method(:method_missing).source_location and read the logic there."