code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb in rwdschedule-0.93 vs code/superant.com.rwdtinkerbackwindow/loadconfigurationvariables.rb in rwdschedule-0.94

- old
+ new

@@ -1,13 +1,13 @@ - # 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