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
@ -95,10 +95,12 @@ module RI
|
|||||||
if @comment.nil? || @comment.empty?
|
if @comment.nil? || @comment.empty?
|
||||||
@comment = old.comment
|
@comment = old.comment
|
||||||
else
|
else
|
||||||
|
unless old.comment.nil? or old.comment.empty? then
|
||||||
@comment << SM::Flow::RULE.new
|
@comment << SM::Flow::RULE.new
|
||||||
@comment.concat old.comment
|
@comment.concat old.comment
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def display_name
|
def display_name
|
||||||
"Module"
|
"Module"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user