code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb in rwdschedule-0.98 vs code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb in rwdschedule-0.99

- old
+ new

@@ -1,13 +1,14 @@ - # this method loads the on screen variables into the running class - def loadconfigurationvariables - - configfiletoload = File.join(ConfigurationDir,TinkerWin2ConfigurationFileName) - begin - load configfiletoload - @extraconfigdatadisplay = "" -@newconfigurationresult = "Config Variables loaded" -rescue - @extraconfigdatadisplay = "" - @newconfigurationresult = "loading error" - end - end +# this method loads the on screen variables into the running class +def loadconfigurationvariables + + configfiletoload = File.join(ConfigurationDir,TinkerWin2ConfigurationFileName) + begin + load configfiletoload + @extraconfigdatadisplay = "" + @newconfigurationresult = "Config Variables loaded" + rescue + @extraconfigdatadisplay = "" + @newconfigurationresult = "loading error" + end +end +