Skip to content

Commit fdd2fa5

Browse files
authored
ri: add page and link from ruby (#21451)
1 parent 7c538a0 commit fdd2fa5

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

pages/common/ri.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ri
2+
3+
> Browse structured API documentation for Ruby.
4+
> See also: `ruby`.
5+
> More information: <https://ruby.github.io/rdoc/RI_md.html>.
6+
7+
- Start interactive shell:
8+
9+
`ri`
10+
11+
- View documentation for a particular name:
12+
13+
`ri {{File#read}}`
14+
15+
- List classes and modules for which `ri` has documentation:
16+
17+
`ri {{[-l|--list]}}`

pages/common/ruby.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ruby
22

33
> Ruby programming language interpreter.
4-
> See also: `gem`, `bundler`, `rake`, `irb`.
4+
> See also: `gem`, `bundler`, `rake`, `irb`, `ri`.
55
> More information: <https://manned.org/ruby>.
66
77
- Execute a Ruby script:

0 commit comments

Comments
 (0)