Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
save my irb session
Ralf Müller
6/22/2005 7:33:00 AM
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)
2 Answers
Zev Blut
6/22/2005 7:49:00 AM
0
Hello,
On Wed, 22 Jun 2005 16:32:52 +0900, Ralf Müller <r_mueller@imp-ag.de>
wrote:
> 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-t...
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/Tip...
Cheers,
Zev Blut
Ralf Müller
6/22/2005 9:15:00 AM
0
On Wed, 22 Jun 2005 16:49:20 +0900
"Zev Blut" <rubyzbibd@ubit.com> wrote:
> Hello,
>
> On Wed, 22 Jun 2005 16:32:52 +0900, Ralf Müller <r_mueller@imp-ag.de>
> wrote:
>
> > 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-t...
>
> 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/Tip...
bookmarked this.
Many Thanks!!
ralf
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
save my irb session
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password