Actions
Feature #19137
openNumbered parameters are not made available to IRB.
Status:
Open
Assignee:
-
Target version:
-
Description
Hello !
It does not look like numbered parameters are available through the Binding that's used by IRB.
# repl.rb
[1,2,3].each do
binding.irb
end
$ irb repl.rb
irb(main):001:0> puts _1
repl.rb:1:in `block in <top (required)>': undefined local variable or method `_1' for main:Object (NameError)
Is it possible for them to be available ? Thanks!
Updated by alanwu (Alan Wu) almost 2 years ago
- Related to Bug #18837: Not possible to evaluate expression with numbered parameters in it added
Actions
Like0
Like0