Sha256: 9e6ae5c1b9d85940a32f8577188832633af3f0f36e2d93038062f62f8fb997c5

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 Bytes

Contents

 # this code is to change the contact name
 def changeeventdata
  oldName =  $rwdschedule_directory + "/" + @a_viewevent +  ".sch"
  newName =  $rwdschedule_directory + "/" + @a_changeeventdata + ".sch"
 begin 
 File.rename(oldName, newName)
  @eventfilechangeresult = "File Renamed!" 
  rescue
  @eventfilechangeresult = "rename error"
  end
  
   end


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rwdschedule-0.5 code/gg0schedules/renameeventdata.rb
rwdschedule-0.6 code/gg0schedules/renameeventdata.rb
rwdschedule-0.9 code/gg0schedules/renameeventdata.rb
rwdschedule-0.8 code/gg0schedules/renameeventdata.rb
rwdschedule-0.91 code/superantc.com.schedule/renameeventdata.rb
rwdschedule-0.92 code/superant.com.schedule/renameeventdata.rb