module Olddoc::Gemspec
helper methods for gemspecs
Public Instance Methods
extra_rdoc_files(manifest)
click to toggle source
# File lib/olddoc/gemspec.rb, line 5 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