save my irb session

R

Ralf Müller

Hi everybody,

I would like to save into a file what i typed in an irb session. But i could
not find anything about that in the man page or pickaxe.

Any tips?


thanks
ralf

(ruby 1.8.2, linux)
 
Z

Zev Blut

Hello,

I would like to save into a file what i typed in an irb session. But i
could
not find anything about that in the man page or pickaxe.

Any tips?

In Ruby-Talk[110924] I posted some code that would lets you save your
current irb session to a file. The full URL is:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/110924

There are also a number of other solutions that were posted to
Ruby-Talk and www.rubygarden.org that will always save your irb state
and reload it when you restart irb.
Look here for another example:
http://www.rubygarden.org/ruby?Irb/TipsAndTricks

Cheers,
Zev Blut
 
R

Ralf Müller

Hello,
=20
wrote:
=20
I would like to save into a file what i typed in an irb session. But i = =20
could
not find anything about that in the man page or pickaxe.

Any tips?
=20
In Ruby-Talk[110924] I posted some code that would lets you save your
current irb session to a file. The full URL is:
=20
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/110924
=20
There are also a number of other solutions that were posted to
Ruby-Talk and www.rubygarden.org that will always save your irb state
and reload it when you restart irb.
Look here for another example:
http://www.rubygarden.org/ruby?Irb/TipsAndTricks

bookmarked this.

Many Thanks!!
ralf
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,174
Messages
2,570,940
Members
47,486
Latest member
websterztechnologies01

Latest Threads

Top