# this code is to call the help window def runhelpwindowrubyslippers $help_topic = "GemCommands_help" if @rwd_tab == "Viewgemdata" $help_topic = "rubyslippers_generalhelp" end if @rwd_tab == "geminstall" $help_topic = "Install_Gem" end if @rwd_tab == "gemcommands" $help_topic = "GemCommands_help" end if @rwd_tab == "gemfilesinstalled" $help_topic = "gemfiles_help" end if @rwd_tab == "gemservescan" $help_topic = "gemdocs_help" end if @rwd_tab == "viewrubyslippersconfiguration" $help_topic = "gemconfiguration_help" end if @rwd_tab == "Viewgemspecdata" $help_topic = "gemspecdata_help" end if @rwd_tab == "editgemspecrecordfile" $help_topic = "editgemspec_help" end if @rwd_tab == "gemutilitiesrubyslippers" $help_topic = "buildgem_help" end if @rwd_tab == "viewgemdir" $help_topic = "viewgemdir_help" end $helptopicsarray = $helptopicsarray | ["rubyslippers_generalhelp", "Install_Gem","GemCommands_help", "gemfilesinstalled","gemdocs_help","gemconfiguration_help","gemspecdata_help","editgemspec_help","buildgem_help","viewgemdir_help"] $previouswindow = @rwd_window $previoustab = @rwd_tab if @rwd_window != "rwdtinkerhelpwindow" $previouswindow = @rwd_window $previoustab = @rwd_tab end runhelpwindow end