Sha256: df1eaa52de35a8916aa2d2623f21545370c9c4dda387f836ee577cbb6a3696ee
Contents?: true
Size: 774 Bytes
Versions: 8
Compression:
Stored size: 774 Bytes
Contents
#create a new note def rwdhypernotecreatenewnote @rwd_call_after_back << "reloadtab" if @a_notedata.empty? newnotecontent = 'new note' else newnotecontent = @a_notedata.to_s end if @a_viewhypernote.empty? newnotefilename = "newnote.txt" else newnotefilename = @a_viewhypernote.to_s + ".txt" end $reloadaftercreate = true download("#{newnotecontent}", "#{newnotefilename}") end def rwdhypernotereloadtab if $reloadaftercreate @rwd_tab = "superantcomeditnoterecordfile" listnotedirs $notesarray.each { |x| if x.include? "#{@a_viewhypernote}" @a_viewhypernote = x.gsub(/\.txt$/, "") end } $reloadaftercreate = false end end
Version data entries
8 entries across 8 versions & 1 rubygems