Hello
Does anyone know a command to reset an irb-session to a clean state (like
ending and restarting irb)? - on the mobile restarting it is not optimal.

If not thats the purpose of GC.

Can I free the master-object (main?) or do I have to get a tree of all
objects and clear them.
how can this be done with classes (=constants)? - Setting to nil is not the
same as unsetting.
class A
def x end
end
A=nil # still defined

Is it done with freeing all classes+global vars?

Thank you
Berg
(supressed text/html)
Unsubscribe: <mailto:ruby-talk-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>