Ruby Information
Installation
SKILL.md
Ruby Information
Use the ri command to access Ruby documentation which is installed locally on your system.
Instructions
Use ri [options] <whatever> to look up information about Ruby classes, modules, and methods.
- Combine with
headto fast check documentation before displaying full content. - Combine with
wcto count relevant items when searching for multiple entries. - Combine with
grepto filter results based on keywords.
Consider to add quote to queries with special characters to avoid shell interpretation issues. e.g. ri 'String#blank?'
Scenarios
Direct Lookup
Check specific Ruby classes or methods accurately.