Sha256: c5e27c5315f5dd61b83fa2e3427626de0e2d19952fa8c22b9a916e6b4f60f655
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
# this method saves a record def saverwdmp3playlist require 'fileutils' newname = @a_playlistfinename.to_s.strip # grab the filename to create newdata = @rwdmpdplaylistcontents.to_s begin # exception trapped block fileName = File.join( $rwdmpdplaylist_directory , newname ) fd = File.open(fileName,"w") fd.print(newdata) # save the record info to the file fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rwdmpd-0.06 | code/superant.com.rwdmp3/saveplaylistrecord.rb |
rwdmpd-0.07 | code/superant.com.rwdmp3/saveplaylistrecord.rb |
rwdmpd-0.08 | code/superant.com.rwdmp3/saveplaylistrecord.rb |