>>>>> "B" == Brian Wilfley <bpwilfley / yahoo.com> writes:

B>       save_defout = $defout.clone 	# a dup by any

 If you want to use $defout, you can use something like this

   module Redirector
      def defRedirector( fileName)
         save_defout = $defout
         $defout = File.open(fileName, 'w')
         yield
      ensure
         $defout.close
         $defout = save_defout
      end
   end


Guy Decoux