Sha256: 7379b897aae25647830c8f32e8144c1a6c87ea740568ffa4e97fc2ab16b24bd4
Contents?: true
Size: 586 Bytes
Versions: 3
Compression:
Stored size: 586 Bytes
Contents
class Step def files_dir @files_dir ||= begin dir = @path + ".files" if Path === @path @path.annotate(dir) else Path.setup(dir) end dir.pkgdir = self dir end end def file(file) dir = files_dir Path.setup(dir) unless Path === dir dir[file] end def bundle_files [path, info_file, Dir.glob(File.join(files_dir,"**/*"))].flatten.select{|f| Open.exist?(f) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scout-gear-10.1.0 | lib/scout/workflow/step/file.rb |
scout-gear-10.0.1 | lib/scout/workflow/step/file.rb |
scout-gear-9.1.0 | lib/scout/workflow/step/file.rb |