Interactive Ruby Shell (irb) is a shell for programming in the object-oriented scripting language Ruby. irb is run from the command line and allows the programmer to experiment with code in real time. It features command-line history, line editing capabilities, and job control, and is able to communicate directly as a shell script over the Internet and interact with a live server.
irb (Interactive Ruby) was developed by Keiju Ishitsuka. It allows you to enter the commands at the prompt and have the interpreter respond as if you were executing a program. irb is a useful way to explore Ruby.
Program usage:
irb [ options ] [ programfile ] [ argument... ]
External links
- "When Trouble Strikes" chapter from Programming Ruby
- "Interactive Ruby Shell" chapter from Programming Ruby
- Try Ruby!—An interactive tutorial in Ruby, within your browser