Sha256: 2aa8d98857b0e6ae192a13b39ff901454628609b8efc85c4353cfa96cb33fa6d
Contents?: true
Size: 275 Bytes
Versions: 8
Compression:
Stored size: 275 Bytes
Contents
require 'byebug' require 'fileutils' FileUtils.rm('Manifest') def glob(path) return if !File.directory?(path) && path != '**' path = "#{path}/*" Dir.glob(path) do |file| File.open('Manifest', 'a') { |f| f.write("#{file}\n") } glob(file) end end glob('**')
Version data entries
8 entries across 8 versions & 1 rubygems