From: Ben Bleything Date: 2009-03-25T03:12:22+09:00 Subject: Re: [Q&A]: HOWTO start irb on a different object On Tue, Mar 24, 2009 at 10:56 AM, Jeremy Henty wrote: > 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 . Oh, by default? I've been carrying around code in my ~/.irbrc to load local .irbrc for years, and didn't know anyone else did that :) > Sure,  that works.   I just  like  having a  way to  make that  happen > automatically. Yeah, sure. Like I said, I've never really needed it to happen automatically, but it's definitely a cool hack when you do. Ben