Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2484de9a9207f3b

Jump to content

YARD (software)

From Wikipedia, the free encyclopedia
YARD
Original authorLoren Segal
ReleaseFebruary 24, 2007; 19 years ago (2007-02-24)
Stable release
0.9.5 / June 22, 2016; 10 years ago (2016-06-22)[1]
Written inRuby
Operating systemCross-platform
TypeEmbedded documentation generator
LicenseMIT license
Websiteyardoc.org
Repository

YARD (Yay! A Ruby Documentation Tool[2]) is an embedded documentation generator for the Ruby programming language. It analyzes the Ruby source code, generating a structured collection of pages for Ruby objects and methods. Code comments can be added in a natural style.

YARD is useful even if the target source code does not contain explicit comments. YARD will still parse the classes, modules, and methods, and list them in the generated API files.

YARD extends upon the capabilities of RDoc in a number of dimensions:

  • extensibility
  • modularity
  • parsing

Dan Kubb has created an ancillary tool, named Yardstick, which verifies YARD (or RDoc) documentation coverage.

See also

[edit]

References

[edit]
  1. Yard - RubiGems.org
  2. "RubyDoc.info: File: README – Documentation for yard (0.9.44) – RubyDoc.info". rubydoc.info. Retrieved 2026-07-26.
[edit]