mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Don't merge ri files if is nil/empty
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df05423ad8
commit
9a811c98e6
1 changed files with 4 additions and 2 deletions
|
@ -95,8 +95,10 @@ module RI
|
|||
if @comment.nil? || @comment.empty?
|
||||
@comment = old.comment
|
||||
else
|
||||
@comment << SM::Flow::RULE.new
|
||||
@comment.concat old.comment
|
||||
unless old.comment.nil? or old.comment.empty? then
|
||||
@comment << SM::Flow::RULE.new
|
||||
@comment.concat old.comment
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue