Man, I wish I had known about this snippet earlier 1
as it would have made plenty of tooling around exploring (and even a job interview) easier. It’s much nicer than just sorting the whole mess after you decide it would take less time to find what you want then implement this very functionality.
# List instance methods without ancestor methods
String.instance_methods(false)

Articles via rss or email
Wow, I’m thinking knowing this probably would have saved me at least several hours over the course of the last year.