From: Ross Bamford Date: 2006-04-12T18:42:26+09:00 Subject: Re: irb On Wed, 2006-04-12 at 03:30 +0900, Tom Allison wrote: > Is there any way to reset irb without closing and restarting it? I don't know if this is any help, but do you know about IRB's workspaces? jobs # => #0->irb on main (#: running) irb "other object" jobs # => #0->irb on main (#: stop) #1->irb#1 on other object (#: running) self # => "other object" irb "and another" jobs # => #0->irb on main (#: stop) #1->irb#1 on other object (#: stop) #2->irb#2 on and another (#: running) self # => "and another" fg 0 # => #, @context=#, @signal_status=:IN_EVAL> jobs # => #0->irb on main (#: running) #1->irb#1 on other object (#: stop) #2->irb#2 on and another (#: stop) self # => main fg 1 # => #, @context=#, @signal_status=:IN_EVAL> exit # => #, @context=#, @signal_status=:IN_EVAL> jobs # => #0->irb on main (#: running) #2->irb#2 on and another (#: stop) kill 2 # => [2] jobs # => #0->irb on main (#: running) exit $ -- Ross Bamford - rosco@roscopeco.REMOVE.co.uk