class Raykit::Wix
def self.harvest_file_components(directory)
each string should look like this:
given a directory, return an array of string the represent wix components for each file in the directory
def self.harvest_file_components(directory) components = Array::new Dir.chdir(directory) do index = 0 Dir.glob("**/*").reject { |f| File.directory? f }.each { |f| index += 1 component = get_indexed_file_component(f, index) components.push(component) } components end end