class Build::Files::Composite
def initialize(files, roots = nil)
def initialize(files, roots = nil) @files = [] files.each do |list| if list.kind_of? Composite @files += list.files elsif List.kind_of? List @files << list else # Try to convert into a explicit paths list: @files << Paths.new(list) end end @files.freeze @roots = roots end