File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -150,17 +150,16 @@ def report
150150 when RDoc ::NormalModule then 'module'
151151 end
152152
153- # TODO RDoc::Context#empty?
154- if cm . in_files . empty? or
153+ if cm . fully_documented? then
154+ next
155+ elsif cm . in_files . empty? or
155156 ( cm . constants . empty? and cm . method_list . empty? ) then
156- report << "# #{ type } #{ cm . full_name } is referenced but not defined ."
157+ report << "# #{ type } #{ cm . full_name } is referenced but empty ."
157158 report << '#'
158159 report << '# It probably came from another project. ' \
159- 'I\'m sorry I\'m holding it against you'
160+ 'I\'m sorry I\'m holding it against you. '
160161 report << nil
161162
162- next
163- elsif cm . fully_documented? then
164163 next
165164 elsif cm . documented? then
166165 report << "#{ type } #{ cm . full_name } # is documented"
You can’t perform that action at this time.
0 commit comments