On Monday, March 31, 2003, 11:46:08 PM, Jim wrote:

> On Monday, 31 March 2003 at 22:34:12 +0900, Robert Klemme wrote:
>> 
>> I do it the other way round: Typically I write the code in an editor and
>> then paste it into the IRB window.
>> 
>>     robert
>> 

> I have not had the best of luck with that. I have not pinned down
> the cause of the failures, but, if I have more than a few
> lines, irb usually gets confused.

> What's your trick?


I sometimes just 'require' the file I'm working on.

Gavin