From: Jim Freeze Date: 2003-03-31T13:33:07+09:00 Subject: Re: Saving code written during an irb session On Monday, 31 March 2003 at 12:05:23 +0900, "Pe�a, Botp" wrote: > > dummier question: Now, how do I load a (script) file to irb (history)? > > My initial wants: > > 1. I'd like to load & unload scripts in irb. Hmm, I've seen posts on how to run a script and then have it stop in irb so you could continue interactively. I don't know where, just do a google search. It should not be hard to find. > 2. I'd like/dream to combine irb, -rdebug, and ri together.. I've also seen ri added to irb. Of course, you could add a simple function to .irbrc like this def ri(query) puts `ri #{query}` end then just do ri "Array.shift" > liken to what Chad said, I'd like a _textual_ ide :-) You may want to search for what has been done with vim and emacs. -- Jim Freeze ---------- Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and TAX-DEFERRED!