Sha256: fdf2c5f62953a35c63259e1d2716fad63598f406928c673718598dd12b6f6a19
Contents?: true
Size: 656 Bytes
Versions: 9
Compression:
Stored size: 656 Bytes
Contents
# this code is to reproduce the note name def copygutenbergfilename if ! @a_viewgutenberg.empty? sourcefile = $rwdgutenberg_directory + "/" + @a_viewgutenberg + ".gut" begin if File.exist?(sourcefile) if ! @a_changegutenbergdata.empty? distfile = $rwdgutenberg_directory + "/" + @a_changegutenbergdata + ".gut" File.copy(sourcefile,distfile) @gutenbergfilechangeresult = "#{@a_changegutenbergdata} Created" else @gutenbergfilechangeresult = "need distination filename" end end rescue @gutenbergfilechangeresult = "Copy Error" end end end
Version data entries
9 entries across 9 versions & 2 rubygems