Sha256: dd1a97e399c6e2d59836850f80fbdbc9328d2d8f39b4826396ca6086a8245e09
Contents?: true
Size: 492 Bytes
Versions: 6
Compression:
Stored size: 492 Bytes
Contents
# this code is to list the events that are scheduled def listeventdates # exception begin begin fileList = Dir.new($rwdschedule_directory).entries.sort.delete_if { |x| ! (x =~ /sch$/) } @eventrecordsresult = fileList.rwd_method("filleventdatesname") rescue @eventrecordsresult = "error opening schedule directory" end # end of error function end def filleventdatesname(inffile) applet = inffile.gsub(/\.sch$/, "") @a_viewevent = applet end
Version data entries
6 entries across 6 versions & 1 rubygems