> I just find it's often handy to take a peek at the code for a module,
but just
> slightly painful to locate the right file.

Then you may find it useful to put that in a .irbrc file in your home
dir.
This is also something I find useful:

def mds(thing)
    (thing.methods - Class.methods).sort
end