logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

yri - documentation tool in console for Ruby

Authors

yard has been developed by Loren Segal <lsegal@soen.ca>.

       This manual page has been written for the Debian Project by Cédric Boutillier (but may used by others).

0.9.37                                             2025-02-04                                             YRI(1)

Description

yard(1) is an extensible documentation generation tool for the Ruby programming language. It enables the
       user to generate consistent, usable documentation that can be exported to a number of formats very
       easily, and also supports extending for custom Ruby constructs such as custom class level definitions.

       yri(1), synonym for yardri gives the possibility to read the documentation for Ruby programs inside a
       console, pretty much like ri(1).

Examples

yriString#gsub

Name

       yri - documentation tool in console for Ruby

Options

GeneralOptions:-b, --dbFILE
           Use a specified .yardoc db to search in

       -T, --no-pager
           No pager

       -p, --pagerPAGER
           Use PAGER as a pager

   Otheroptions:-e, --loadFILE
           A Ruby script to load before running command.

       --pluginPLUGIN
           Load a YARD plugin (gem with `yard-' prefix)

       --legacy
           Use old style Ruby parser and handlers. Always on in 1.8.x.

       --safe
           Enable safe mode for this instance

       -q, --quiet
           Show no warnings.

       --verbose
           Show more information.

       --debug
           Show debugging information.

       --backtrace
           Show stack traces

       -v, --version
           Show version.

       -h, --help
           Show a help message, similar to this page.

See Also

yard(1).

Synopsis

yri [options] Path_to_object

See Also