Files
cheatsheet-tldr/tldr/ri
2026-03-11 00:24:37 +00:00

23 lines
412 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ri
> Browse structured API documentation for Ruby.
> See also: `ruby`.
> More information: <https://ruby.github.io/rdoc/RI_md.html>.
- Start interactive shell:
`ri`
- View documentation for a particular name:
`ri {{File#read}}`
- List classes and modules for which `ri` has documentation:
`ri {{[-l|--list]}}`