Merge rdoc-6.0.0.beta4 from upstream.

It version applied `frozen_string_literal: true`

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2017-11-27 10:45:24 +00:00
parent 2d9f20e1cf
commit 5551871086
195 changed files with 1631 additions and 1258 deletions

View file

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
##
# Base class for the RDoc code tree.
#
@ -144,7 +144,7 @@ class RDoc::CodeObject
# HACK correct fix is to have #initialize create @comment
# with the correct encoding
if String === @comment and @comment.empty? then
@comment.force_encoding comment.encoding
@comment = RDoc::Encoding.change_encoding @comment, comment.encoding
end
@comment
end