Hacker News new | ask | show | jobs
by werdnapk 939 days ago
I always do object.methods.sort, otherwise my brain can't consume it
1 comments

I use `my_object.methods.sort - Object.methods` to help reduce the methods I need to consider.
Subtracting Object.new.methods will remove more of the standard methods than Object.methods.
Even better, thank you!