Module: Wrongdoc::Gemspec
- Includes:
- RdocOptions, Readme
- Defined in:
- lib/wrongdoc/gemspec.rb
Overview
helper methods for gemspecs
Instance Method Summary collapse
Methods included from RdocOptions
Methods included from Readme
#readme_description, #readme_metadata
Instance Method Details
#extra_rdoc_files(manifest) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# 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 |