S.Volkov
4/12/2006 9:05:00 AM
Robert Klemme wrote:
>..
> That's the reason why I usually do it the other way round: I write the
> code in an editor and paste it to IRB. :-)
Do you mean copy/paste? Why!!!
There are Emacs, Eclipse, Crimson Editor... lot of others, which allow you
to execute script from editor buffer while you are editing it, and if you
need to test few lines of code, just add them in the editor buffer and put
__END__ line after, or use =begin/=end to prevent execution of unfinished
code; Emacs even allows you to send text to irb session from emacs buffer;
you should try - you will like it!
regards
Sergey