3 ms·
Sure, but my favorite thing to do in irb is <object I want to inspect>.methods.sort - Object.methods This won’t work even with respond_to being defined
by cortesoft 3y ago
Sure, but my favorite thing to do in irb is <object I want to inspect>.methods.sort - Object.methods
This won’t work even with respond_to being defined
- danielheath 3y agoI also love this technique . I prefer to subtract {}.methods though - shorter to type and removes more cruft.
- ajmurmann 3y agoHah, I am even twice as lazy as you and do '- 1.methods'. Works for 99.9% of cases.