Hello guys, a short question (I didn’t find the answer around inet):
Do exist some way to “exclude” any file “required” in Ruby irb?
I’ll show you why I’m asking: suppose that you load by the “require”
method a file which have a source code named anything.rb, so:
This program will run, you interact with it, and it will finish,
because it did the thing that supposed to do and it finished. Now, I
want to run it again, is tedious shut down the prompt and open it again.
Is there any way in which I can “exclude” this file anything.rb and then
“require” again…or something. Thanks for your time, I appreciate it.