mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 04:58:25 +00:00
23 lines
412 B
Plaintext
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]}}`
|