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, --db FILE β€” use a specified .yardoc db to search in πŸ”
  • -T, --no-pager β€” no pager. straight to stdout, no scrolling little guy, raw and unfiltered 😌
  • -p, --pager PAGER β€” use PAGER as a pager (yes you can pick your own, go off 🫢)

Other options: 🧚

  • -e, --load FILE β€” a Ruby script to load before running command. pre-game warmup script, love that for us πŸ’…
  • --plugin PLUGIN β€” load a YARD plugin (that's a gem with the yard- 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