Ruby
Appearance
Links
- https://news.ycombinator.com/item?id=38688453
- Hacker news thread about Ruby love/hate. Takeaways:
- "you can do
object.method(:supports_feature).source_locationto 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_locationand read the logic there."