Sha256: b1eaa0f176063d8c0a4ef0422673b4c56e6297bf08ed079993909b490f7353c1

Contents?: true

Size: 551 Bytes

Versions: 21

Compression:

Stored size: 551 Bytes

Contents

 # this code is to change the note name
 def changehypernotedata
  if ! @a_changehypernotedata.empty? 
   if ! @a_viewhypernote.empty? 
   oldName =  @a_viewhypernote + ".txt"
  
    
     newName =  @a_changehypernotedata + ".txt"
      if  File.exist?(oldName)
         File.rename(oldName, newName)
         oldlinkName =  @a_viewhypernote + ".lnk"
         newlinkName =  @a_changehypernotedata + ".lnk"
         if  File.exist?(oldlinkName)
            File.rename(oldlinkName,  newlinkName)
         end
     end
     end
   end    
  end


Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
bigtinker-0.93 code/superant.com.hypernote/changehypernotename.rb
bigtinker-0.94 code/superant.com.hypernote/changehypernotename.rb
bigtinker-0.97 code/superant.com.foldeditor/changehypernotename.rb
rwdfoldeditor-0.05 code/superant.com.foldeditor/changehypernotename.rb
rwdfoldeditor-0.03 code/superant.com.foldeditor/changehypernotename.rb
rwdfoldeditor-0.01 code/superant.com.foldeditor/changehypernotename.rb
rwdfoldeditor-0.02 code/superant.com.foldeditor/changehypernotename.rb
rwdfoldeditor-0.07 code/superant.com.foldeditor/changehypernotename.rb
rwdhypernote-0.03 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.10 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.15 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.07 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.11 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.13 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.12 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.08 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.05 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.16 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.04 code/superant.com.hypernote/changehypernotename.rb
rwdhypernote-0.06 code/superant.com.hypernote/changehypernotename.rb