mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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:
parent
2d9f20e1cf
commit
5551871086
195 changed files with 1631 additions and 1258 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue