Sha256: 50b2d35a9b2f62d0d25fb9d91469943cf6a8923def50d1e914d3c4570ec22016

Contents?: true

Size: 885 Bytes

Versions: 2

Compression:

Stored size: 885 Bytes

Contents

   # this method clears the on screen variables
   def fillziptoinstallnamex(inffile)
	applet                = inffile.strip
	@a_viewfoldlink         = applet
	
end

   
  def rwddisplayfoldlinks
  if @a_viewfoldlinkfile
       if @a_viewfoldlinkfile.empty?  # a fold link file has not been selected
  
             fileName = File.join($rwdfoldeditor_directory,"default.fld")
	
	else  # you have picked the fold link file you want to use
		
		fileName = File.join($rwdfoldeditor_directory, @a_viewfoldlinkfile.to_s.strip)
	end
	else
		 fileName = File.join($rwdfoldeditor_directory,"default.fld")
		 end
  tmpfilearray = []
    File.open(fileName).each { |line|
   tmpfilearray  << line.strip  
}

  @a_displayfoldlinks01 = tmpfilearray.entries.sort.rwd_method("fillziptoinstallnamex")
 @displayfoldlinkoptions  = tmpfilearray.rwd_options
 

 
  end 
 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwdfoldeditor-0.01 code/superant.com.foldeditor/rwddisplayfoldlinks.rb
rwdfoldeditor-0.02 code/superant.com.foldeditor/rwddisplayfoldlinks.rb