Sha256: 4c3160e782a62e9134eac0d2064af865e3934779e2a20f48d37a50a13c95254b
Contents?: true
Size: 424 Bytes
Versions: 2
Compression:
Stored size: 424 Bytes
Contents
class PublisherSupport def before src_dir FileUtils.touch (File.join src_dir, 'file1.mmd') end def after dirs img_lin = File.join('images','linux.jpeg') files_to_delete = [ img_lin ,'images', 'file4.html', 'ajax-loader.gif', 'help.png', 'search.html' ] dirs.each do |dir| files_to_delete.each do |file| delf = File.join dir,file FileUtils.rm_rf delf end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
beta_tools-0.0.5 | test/it_tools/test_publisher2_support.rb |
beta_tools-0.0.4 | test/it_tools/test_publisher2_support.rb |