From: Eric Hodel Date: 2009-07-08T04:09:43+09:00 Subject: Re: Help with rdoc - generate documentation for Ruby 1.9.1 Standard Library? On Jul 7, 2009, at 04:05, Bjoern wrote: > Also James from ruby-doc explained to me another issue with rdoc not > handling re-openings of classes well (such as YAML adding methods to > String if YAML is required). Any workarounds for that? RDoc itself handles this just fine, but sometimes the files themselves disable RDoc. For example: class String # :nodoc: def my_string_extension end end The nodoc directive is global to the String class, never do this! This is correct: class String # :stopdoc: def my_string_extension end # :startdoc: end