11. time
theyre just comments. You dont need to document the
self-explanatory, but chances are youre already
commenting tricky bits of code.
Why not use that to create reference docs?
12. change
its in your code, therefore the chance of it
staying up-to-date is high
18. $ rake -T doc
rake doc:app # Build the app HTML Files
rake doc:clobber_app # Remove rdoc products
rake doc:clobber_plugins # Remove plugin documentation
rake doc:clobber_rails # Remove rdoc products
rake doc:plugins # Generate documation for all installed plugins
rake doc:rails # Build the rails HTML Files
rake doc:reapp # Force a rebuild of the RDOC files
rake doc:rerails # Force a rebuild of the RDOC files
30. def fred # :yields: index, position
...
yield line, address
RDoc automatically tries to figure out what your
method yields from the variable names.
Using :yields: you can override this.