Actions
Feature #16432
closedUsing `_1` inside `binding.irb` will cause unintended behavior
Feature #16432:
Using `_1` inside `binding.irb` will cause unintended behavior
Status:
Closed
Assignee:
-
Target version:
-
Description
Summary¶
Calling binding.irb in a block that uses _1 and using _1 in irb will cause unintended behavior.
Steps to reproduce¶
- Use
_1in block - Use
binding.irbin block - Use block with
_1inbinding.irb
Expected behavior¶
Actual behavior¶
- Refers to the
_1of the block that calledbinding.irb
I think this is an unintended behavior for the user.
Actions