Method: Build::Files::Directory#each

Defined in:
lib/build/files/directory.rb

#eachObject



42
43
44
45
46
47
48
# File 'lib/build/files/directory.rb', line 42

def each
	return to_enum(:each) unless block_given?
	
	Dir.glob(full_path + "**/*") do |path|
		yield Path.new(path, @root)
	end
end