Sha256: 2d27e1a824f94c59ed71624e7bd3015488cef7d3dbf0bd27a66f198f95eae82e
Contents?: true
Size: 510 Bytes
Versions: 13
Compression:
Stored size: 510 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
13 entries across 13 versions & 2 rubygems