rdoc/rdoc — Issue #96: commented singleton methods confuse rdoc
Author: zenspider
Created: 2012-01-20 23:39:19+00:00
State: open
Labels: Bug

``` ruby

##
# Walk each parent directory of dir looking for file. Yield each file
# found to caller.

def File.each_parent dir, file
until dir == "." do
dir = File.dirname dir
yield File.join(dir, file).sub(/^\.\//, "")
end
end
```

`rdoc -C` says that File isn't documented and a blank entry is generated with doco.