Sha256: edbc6fb223e912c36b9cd6d013939718090fb05bc3f3f08651643e9ac80a6c6b

Contents?: true

Size: 864 Bytes

Versions: 1

Compression:

Stored size: 864 Bytes

Contents

# this method views the fold links
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.rwd_method("fillziptoinstallnamex")
 @displayfoldlinkoptions  = tmpfilearray.rwd_options
 

 
  end 
 

Version data entries

1 entries across 1 versions & 1 rubygems

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