From: "sawa (Tsuyoshi Sawada)" Date: 2022-11-20T10:16:47+00:00 Subject: [ruby-core:110825] [Ruby master Feature#19137] Numbered parameters are not made available to IRB. Issue #19137 has been updated by sawa (Tsuyoshi Sawada). It has nothing to do with IRB. If you run `ruby repl.rb`, you will get the same result. ---------------------------------------- Feature #19137: Numbered parameters are not made available to IRB. https://bugs.ruby-lang.org/issues/19137#change-100181 * Author: 0x1eef (0x 1eef) * Status: Open * Priority: Normal ---------------------------------------- Hello ! It does not look like numbered parameters are available through the Binding that's used by IRB. ```ruby # 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 ': undefined local variable or method `_1' for main:Object (NameError) ``` Is it possible for them to be available ? Thanks! -- https://bugs.ruby-lang.org/ Unsubscribe: