rdoc/rdoc — Issue #95: :stopdoc: not working for A::B
Author: zenspider
Created: 2012-01-20 23:26:32+00:00
State: open
Labels: Bug

Like #90, :stopdoc:/:startdoc: has problems. Seems to be centered on const2 nodes:

``` ruby
# :stopdoc:

class A::B
def bad!
end
end

# :startdoc:

class W
def ok
end
end

# :stopdoc:

class X
class Y
def bad!
end
end
end

# :startdoc:

class Z
def ok
end
end
```

Running `rdoc -C blah.rb` shows the 2 ok methods (as expected), but also shows the bad! method of A::B. It correctly works for X::Y since those are nested.