YRI(1)
π YRI(1) π
okay bestie, welcome to the yri manual page β that's the console docs tool for Ruby, and yes we're gonna read the whole thing together, no skimming, I got you π«Ά
β¨ NAME β¨
yri β documentation tool in console for Ruby. it's giving "man pages but make it Ruby" π
πΈ SYNOPSIS πΈ
yri [options] Path_to_object
that's it. that's the whole vibe. options go first, then the thing you wanna look up π
π¦ DESCRIPTION π¦
so like, context first: yard(1) is an extensible documentation generation tool for the Ruby programming language. it lets the user generate consistent, usable documentation that can be exported to a number of formats very easily, and it also supports extending for custom Ruby constructs such as custom class level definitions. iconic behavior fr fr β¨
and yri(1)? it's a synonym for yard ri. it gives you the possibility to read the documentation for Ruby programs inside a console, pretty much like ri(1) does. so if you already fw ri(1), this is your new main character π
π OPTIONS π
General Options: π
-b,--dbFILE β use a specified.yardocdb to search in π-T,--no-pagerβ no pager. straight to stdout, no scrolling little guy, raw and unfiltered π-p,--pagerPAGER β use PAGER as a pager (yes you can pick your own, go off π«Ά)
Other options: π§
-e,--loadFILE β a Ruby script to load before running command. pre-game warmup script, love that for us π--pluginPLUGIN β load a YARD plugin (that's a gem with theyard-prefix, iykyk)--legacyβ use old style Ruby parser and handlers. and heads up bestie, it's always on in 1.8.x β οΈ--safeβ enable safe mode for this instance π‘οΈ-q,--quietβ show no warnings. silence is golden, the drama is cancelled π--verboseβ show more information. tell me everything, I wanna know π--debugβ show debugging information. deep lore unlocked π₯--backtraceβ show stack traces πͺ-v,--versionβ show version π-h,--helpβ show a help message, similar to this page. hi bestie, this one's you right now π
β EXAMPLES β
yri String#gsub
literally the moment. look up String#gsub, get the docs, slay π
π SEE ALSO π
yard(1) β that's the big sibling, go say hi π«Ά
π AUTHORS π
yard has been developed by Loren Segal <lsegal@soen.ca>. thank you king π«‘
This manual page has been written for the Debian Project by CΓ©dric Boutillier (but may used by others). appreciation post for CΓ©dric, fr fr π
ok and that's the whole page bestie, you ate that πβ¨
sign-off time: this was version 0.9.45, dated 2026-07-23 β mwah, go read some Ruby docs, ily, bye π π
π¦ where this page comes from
- ubuntu stonking: yard 0.9.45-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms