A
aeggers
I'm looking to send an irb session to a file. How do people do this on
Windows?
Andy
Windows?
Andy
I'm looking to send an irb session to a file. How do people do this on
Windows?
Thanks, James, this is useful, although it appears that it only
retains the history of commands I enter, without the irb output
(return values, errors, etc). I'm surprised there's no way to send all
of an irb session (input and output) to a file -- if I'm still missing
something, please someone let me know.
As far as I know (and I'm definitely open to the possibility that I'm
wrong here) that's not really possible outside of windows, either. You
can capture the output, but getting both the input and output would be
tricky.
It's easy in Linux:
$ script foo.txt
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.