- Ruby Basics
- Ruby - Home
- Ruby - Overview
- Ruby - Environment Setup
- Ruby - Syntax
- Ruby - Classes and Objects
- Ruby - Variables
- Ruby - Operators
- Ruby - Comments
- Ruby - IF...ELSE
- Ruby - Loops
- Ruby - Methods
- Ruby - Blocks
- Ruby - Modules
- Ruby - Strings
- Ruby - Arrays
- Ruby - Hashes
- Ruby - Date & Time
- Ruby - Ranges
- Ruby - Iterators
- Ruby - File I/O
- Ruby - Exceptions
- Ruby Advanced
- Ruby - Object Oriented
- Ruby - Regular Expressions
- Ruby - Database Access
- Ruby - Web Applications
- Ruby - Sending Email
- Ruby - Socket Programming
- Ruby - Ruby/XML, XSLT
- Ruby - Web Services
- Ruby - Tk Guide
- Ruby - Ruby/LDAP Tutorial
- Ruby - Multithreading
- Ruby - Built-in Functions
- Ruby - Predefined Variables
- Ruby - Predefined Constants
- Ruby - Associated Tools
- Ruby Useful Resources
- Ruby - Quick Guide
- Ruby - Useful Resources
- Ruby - Discussion
- Ruby - Ruby on Rails Tutorial
ri: Ruby Interactive Reference
ri an online reference tool developed by Dave Thomas, the famous pragmatic programmer.
When you have a question about the behavior of a certain method, you can invoke ri to read the brief explanation of the method.
You can get ri from ri: Ruby Interactive
Usage Syntax
Here is simple syntax to use ri
ri [ options ] [ methodname... ]
Here is a complete list of options −
Sr.No. | Command & Description |
---|---|
1 | --version,C -v Displays version and exits. |
2 | --line-length = n -l n Sets the line length for the output (minimum is 30 characters). |
3 | --synopsis -s Displays just a synopsis. |
4 | --format = name -f name Uses the name module (default is Plain) for output formatting. Here are the available modules −
name should be specified in any of the following forms −
|
ruby_associated_tools.htm
Advertisements
To Continue Learning Please Login
Login with Google