Sha256: 48cd4fe75eddb07d0ff6585ece4d29340f58e9e469107052d37055edab132faa

Contents?: true

Size: 395 Bytes

Versions: 8

Compression:

Stored size: 395 Bytes

Contents

 # this code is to change the file name
 def changecalcscriptname
  oldName =  $calcscript_directory + "/" + @a_calcscriptfilename +  ".math"
  newName =  $calcscript_directory + "/" + @a_changecalcscriptname + ".math"
 begin 
 File.rename(oldName, newName)
  @calcscriptfilechangeresult = "File Renamed!" 
  rescue
  @calcscriptfilechangeresult = "rename error"
  end
  
   end


Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
bigtinker-0.94 code/superant.com.rwdcalc/renamecalcrecord.rb
bigtinker-0.93 code/superant.com.rwdcalc/renamecalcrecord.rb
bigtinker-0.98 code/superant.com.rwdcalc/renamecalcrecord.rb
bigtinker-0.96 code/superant.com.rwdcalc/renamecalcrecord.rb
bigtinker-0.97 code/superant.com.rwdcalc/renamecalcrecord.rb
rwddemo-0.90 code/rwdcalc/renamecalcrecord.rb
rwddemo-0.92 code/superant.com.rwdcalc/renamecalcrecord.rb
rwddemo-0.91 code/superant.com.rwdcalc/renamecalcrecord.rb