diff options
Diffstat (limited to 'lib/rdoc/stats.rb')
-rw-r--r-- | lib/rdoc/stats.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rdoc/stats.rb b/lib/rdoc/stats.rb index b5a21915b4..94fdd279c7 100644 --- a/lib/rdoc/stats.rb +++ b/lib/rdoc/stats.rb @@ -4,6 +4,8 @@ class RDoc::Stats + include RDoc::Text + ## # Output level for the coverage report @@ -438,6 +440,8 @@ class RDoc::Stats params = method.param_list + params = params.map { |param| param.gsub(/^\*\*?/, '') } + return 0, [] if params.empty? document = parse method.comment |