Sha256: ef43b46d3a625d83a0c732061fecd84dcfc4c1c546eb9bffb5b6f4959bce61e8

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

# this code is to change the record name
def changemoviedata
	oldName =  $rwdmovies_directory + "/" + @a_moviefilename +  ".nam"
	newName =  $rwdmovies_directory + "/" + @a_changemoviedata + ".nam"
	File.rename(oldName, newName)
	oldphotoName =  $rwdmovies_directory + "/" + @a_moviefilename  + ".jpg"
	newphotoName =  $rwdmovies_directory + "/" + @a_changemoviedata + ".jpg"
	if  File.exist?(oldphotoName)
		File.rename(oldphotoName, newphotoName)
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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