### Get Files from dir begin module TMP @@spec_files = [] end Dir[File.expand_path(File.join(File.dirname(__FILE__),"**","*"))].sort.uniq.each do |one_file_name| one_file_name = File.expand_path one_file_name file_name = one_file_name[(File.expand_path(File.dirname(__FILE__)).to_s.length+1)..(one_file_name.length-1)] if !one_file_name.include?("pkg") if !File.directory? file_name TMP.class_variable_get("@@spec_files").push file_name STDOUT.puts file_name if $DEBUG end end end end