helper methods for gemspecs
# File lib/wrongdoc/gemspec.rb, line 6 def extra_rdoc_files(manifest) File.readlines('.document').map! do |x| x.chomp! if File.directory?(x) manifest.grep(%r{\A#{x}/}) elsif File.file?(x) x else nil end end.flatten.compact end