From fdd2fa59e5668f071908816e8cbb33b377f39eba Mon Sep 17 00:00:00 2001 From: Aidan Coyle Date: Tue, 10 Mar 2026 18:05:03 -0500 Subject: [PATCH] ri: add page and link from ruby (#21451) --- pages/common/ri.md | 17 +++++++++++++++++ pages/common/ruby.md | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 pages/common/ri.md diff --git a/pages/common/ri.md b/pages/common/ri.md new file mode 100644 index 0000000000..c7bba9606b --- /dev/null +++ b/pages/common/ri.md @@ -0,0 +1,17 @@ +# ri + +> Browse structured API documentation for Ruby. +> See also: `ruby`. +> More information: . + +- 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]}}` diff --git a/pages/common/ruby.md b/pages/common/ruby.md index c86717692d..ad84de0e56 100644 --- a/pages/common/ruby.md +++ b/pages/common/ruby.md @@ -1,7 +1,7 @@ # ruby > Ruby programming language interpreter. -> See also: `gem`, `bundler`, `rake`, `irb`. +> See also: `gem`, `bundler`, `rake`, `irb`, `ri`. > More information: . - Execute a Ruby script: