Source code
IRB stands for "interactive Ruby" and is a tool to interactively execute Ruby expressions read from the standard input. We're working hard to match Pry's variety of powerful features in IRB, and you can track our progress or find contribution ideas in this document. You can start a fresh IRB session by typing irb in your terminal. Once a binding.irb is evaluated, a new IRB session will be started with the surrounding context: You can use IRB as a debugging console with debug.gem with these options: In binding.irb , use the debug command to start an irb:rdbg session with access to all debug.gem commands. Use the RUBY DEBUG IRB CONSOLE=1 environment variable to make debug.gem use IRB as the debugging console. IRB v1.13.0 and later versions allows users/libraries to extend its functionality through official APIs.
Excerpt from the source-code README · 3,359 chars · not written by Vinony
Wikidata facts
- Official website
- github.com/ruby/irb
- Image
- Interactive Ruby Shell.png
Show 3 more facts
- user manual URL
- docs.ruby-lang.org/ja/latest/library/irb.html
- software version identifier
- 1.18.0
- source code repository URL
- github.com/ruby/irb
via Wikidata · CC0
Article · Deutsch
Interactive Ruby Shell (IRB) ist ein Kommandozeileninterpreter (REPL) für die Programmiersprache Ruby. Das Programm wird von der Kommandozeile gestartet und ermöglicht die Ausführung von Ruby-Kommandos, wobei das Ergebnis unmittelbar zurückgegeben wird. Dadurch kann man in Echtzeit mit Ruby experimentieren oder ad hoc kleinere Berechnungen mit Ruby durchführen, wie mit einem Taschenrechner. IRB kennt die zuletzt eingegebenen Kommandos, die durch Verwendung der Pfeiltasten zurückgeholt und gegebenenfalls editiert werden können, um das Absetzen ähnlicher Kommandos und Wiederholungen zu vereinfachen. Auf Posix-Systemen (Linux, Unix) hat man Zugriff auf die Job-Kontrolle, kann wie ein Shellskript direkt über das Internet kommunizieren und mit Servern interagieren. Die Software wurde von Keiju Ishitsuka entwickelt und gehört in der Regel zum Lieferumfang von Ruby dazu. Verwendung: irb [ Optionen ] [ Programmdatei ] [ Argument1... ]
Abstract from DBpedia / Wikipedia · CC BY-SA