Sha256: 501d91d8c2d23207587ddfb1f0bd9bea10c6e90753deb9bbad738c2719c26fa6

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

# this code is to list the movie names
def listmovierecordfiles
	begin
		fileList      = Dir.new($rwdmovies_directory).entries.sort.delete_if { |x| ! (x =~ /nam$/) }
		@moviefilelistresult  = fileList.rwd_method("fillrwdmovierecordname")
	rescue
		@moviefilelistresult = "file error"
	end
end

def fillrwdmovierecordname(inffile)
	applet                = inffile.gsub(/\.nam$/, "")
	@a_moviefilename = applet
	@a_moviedisplay       = applet
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwdmovies-0.94 code/superant.com.rwdmovies/listmoviefiles.rb
rwdmovies-0.95 code/superant.com.rwdmovies/listmoviefiles.rb