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/branches/ruby_1_8@10264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c6918c9179
commit
cbb83fbf67
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
Add a link
Reference in a new issue