Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-11 00:24:37 +00:00
parent 4d37f773c5
commit 78c884f69c
8 changed files with 147 additions and 13 deletions

22
tldr/ri Normal file
View File

@@ -0,0 +1,22 @@
---
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]}}`