mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 08:58:29 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/ri
Normal file
22
tldr/ri
Normal 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]}}`
|
||||
Reference in New Issue
Block a user