irb
irb copied to clipboard
interactive Ruby
## Description When you run irb in root directory and tries to autocomplete require_relative path, IRB hangs. IRB tries to search every directory in your system. In my environment, it...
## Description Prepare these directory and files ``` $ mkdir foo $ echo binding.irb > foo/foobar.rb $ echo "require'./foo/foobar.rb'" > main.rb ``` Then execute `ruby main.rb` ``` $ ruby main.rb...
The recent revision of the main IRB documentation has three :stopdoc:/:startdoc: directive pairs that try to mention but omit several undocumented entries in IRB.conf: - IRB.conf[:LC_MESSAGES] - IRB.conf[:MEASURE] IRB.conf[:MEASURE_CALLBACKS] IRB.conf[:MEASURE_PROC]...
## Background Since its introduction in version `1.4.0`, the autocompletion feature has received mixed feedback. We can see many issues and comments in the repo mentioning its problems. Personally I...
Currently, we simply split the input on whitespace and use the first word as the command name to check if it's a command. But this means that assigning a local...
Ensures that "project level" `.irbrc` will always take precedence over "user level" `.irbrc`. Addresses part of #674
Inspecting large objects may take a long time since IRB colors the entire output of #inspect all at once. This patch lets IRB to give up coloring after a certain...
## Description Completion does not seem to work immediately after `[`. It works after `(`, `{`, etc. ### Steps to Reproduce #### Scenario: Type `[` and `RUBY_VER`, then type `TAB`....
When searching the internet have not ever been able to find a page that state the default values for the `IRB.conf` which is usually referenced in `~/.irbrc` I (again) realized...