From: Jeremy Henty Date: 2009-03-25T02:56:54+09:00 Subject: Re: [Q&A]: HOWTO start irb on a different object On 2009-03-24, Ben Bleything wrote: > Do you find that you often want to start irb in the same object's > context? You're right that there's little reason to use this hook in ~/.irbrc but as I remarked elsewhere in the thread, irb will pick up a .irbrc from the current directory as well as from the home directory. And it's very common for me to want to start irb in the same object's context whenever I'm running irb in a particular directory. With my hack I get that just by creating a *local* .irbrc . > When I want to get into a new object, I usually just use "irb > that_object" from inside irb. Sure, that works. I just like having a way to make that happen automatically. Regards, Jeremy Henty