"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/rdoc/rdoc.rb" between
ruby-2.7.3.tar.gz and ruby-2.7.4.tar.gz

About: Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). Stable release of 2.7 series.

rdoc.rb  (ruby-2.7.3):rdoc.rb  (ruby-2.7.4)
skipping to change at line 433 skipping to change at line 433
end end
## ##
# Removes file extensions known to be unparseable from +files+ and TAGS # Removes file extensions known to be unparseable from +files+ and TAGS
# files for emacs and vim. # files for emacs and vim.
def remove_unparseable files def remove_unparseable files
files.reject do |file| files.reject do |file|
file =~ /\.(?:class|eps|erb|scpt\.txt|svg|ttf|yml)$/i or file =~ /\.(?:class|eps|erb|scpt\.txt|svg|ttf|yml)$/i or
(file =~ /tags$/i and (file =~ /tags$/i and
open(file, 'rb') { |io| File.open(file, 'rb') { |io|
io.read(100) =~ /\A(\f\n[^,]+,\d+$|!_TAG_)/ io.read(100) =~ /\A(\f\n[^,]+,\d+$|!_TAG_)/
}) })
end end
end end
## ##
# Generates documentation or a coverage report depending upon the settings # Generates documentation or a coverage report depending upon the settings
# in +options+. # in +options+.
# #
# +options+ can be either an RDoc::Options instance or an array of strings # +options+ can be either an RDoc::Options instance or an array of strings
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)