ruby / irb

interactive Ruby
BSD 2-Clause "Simplified" License
392 stars 119 forks source link

Use flag instead of caller for `debug`'s binding.irb check #947

Closed st0012 closed 6 months ago

st0012 commented 6 months ago

Although #946 was caused by file loading order change, I believe it's better not to rely on caller location for the binding.irb check. So this PR flags Irb instances that are created from binding.irb, and use that info to inform debug commands.

Closes #946