Skip to content
EntityQ1632605· pop 6

Interactive Ruby

Sign in to save

Also known as irb

shell for programming in Ruby

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
software version identifier
1.18.0
source code repository URL
github.com/ruby/irb
Sources (4)

via Wikidata · CC0

Article · 日本語

Interactive Ruby (IRB、irb) は、Rubyを対話的に実行 (REPL) するためのシェルである。 irbコマンドを実行することでコマンドプロンプトが表示され、Rubyの式を入力することでそれが実行され、結果が表示される。Readlineがインストールされている場合、コマンドライン編集や履歴などの機能を利用できる。 Ruby 2.7に添付されているirbでは、Readlineに代わってRelineが採用された。 irbはによって開発された。

Abstract from DBpedia / Wikipedia · CC BY-SA

Available in 5 languages

via Wikidata sitelinks · CC0

Connections