Sha256: 04e6015c8676b82adb6d3331fca8f0172a9245088f57689c0954eabef8632f6a

Contents?: true

Size: 495 Bytes

Versions: 6

Compression:

Stored size: 495 Bytes

Contents

   # this method views an existing address record
  def deleteeventrecord
 
    require 'fileutils'
  
      if @a_viewevent
      $currenteventtext =  @a_viewevent
      end
              
              
    begin # exception trapped block
      fileName = $rwdschedule_directory + "/" + $currenteventtext + ".sch"
      File.delete(fileName)
      @eventfilechangeresult = "File Deleted!"
     rescue 
         @eventfilechangeresult = "File Deletion error"
    end # exception rescue

  end

Version data entries

6 entries across 6 versions & 1 rubygems

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