Hacker News new | ask | show | jobs
by MatthiasPortzel 720 days ago
> You'll need a `require 'irb'` in your script too, ofc

irb is a part of Ruby core, so this isn’t true. (It may have been at one point? I’m not sure.)

I love binding.irb. I use it all the time.

2 comments

Huh, TIL! Requiring `irb` has been unnecessary since 2.5 and I never noticed.
Me too (binding.pry). I think of it as REPL based development.