1
0
Fork 0
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:
drbrain 2006-06-14 22:24:36 +00:00
parent df05423ad8
commit 9a811c98e6

View file

@ -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