From: Martin DeMello Date: 2005-04-09T06:34:39+09:00 Subject: Re: Detecting thread exit immediately Martin DeMello wrote: > > Is there any way I can have FXIrb pass in 'self' to the thread so that > it can call methods on it? The good people on #ruby-lang solved this one :) It's as simple as @irb = Thread.new(self) { .... self.quit_method } martin