- Visualize with GraphViz Visualize your classes and methods with GraphViz
- Inline RSpecs In your rspec files, call the following to refer
back to and call the inline rspecs:
described_in_docs "String", "camelcase"
- Inline doc testing Use the 'docspec' command line tool to run the above tests. This is similar to Ruby DocTest's inline irb testing.
Java, C++, Python and many other languages have standard documentation tools that use the @tag "standard". This has been extended to the Ruby language, and YARD takes advantage of this common style.
Yes. YARD is flexible enough to have other documentation syntaxes put into use. [TODO: Add information about customization here.]
As of Ruby 1.9, YARD uses Ripper parser which is packaged with the standard library and maintained as such. The legacy parser is only being maintained for bug fixes, but was written because no existing parser properly supported putting comments into the parse tree and did not robustly support edge case scenarios.