#*********************************************************************** #* Rwd/Tinker -- A Ruby program for the RudyWebDialog. #* Copyright (c) 2004 - 2005 by Steven Gibson. All Rights Reserved. #* #* This library is free software; you can redistribute it and/or #* modify it under the terms of the GNU General Public #* License as published by the Free Software Foundation; either #* . #* #* These files are distributed in the hope that they will be useful, #* but WITHOUT ANY WARRANTY; without even the implied warranty of #* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #* General Public License for more details. #* #* You should have received a copy of the GNU General Public #* License along with these files; if not, write to the Free Software #* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #* #* For further information please contact the author by e-mail #* at "steven@superant.com". #***********************************************************************/ def removeappletvariables(tempremovename) begin # exception trapped block if $DEBUG $stderr.puts "in removeappletvariables" end # removefileinf = File.open(tempremove){|f| f.read} temp = tempremovename.gsub("-","_") removemethod = temp.gsub(".","_") send "#{removemethod}" tmpremoveapplet = " successfull applet variable removal " rescue tmpremoveapplet = " removeappletvariables .." end # exception rescue return tmpremoveapplet end