How does one go about saying goodbye to all constants, objects, and the like defined in an irb
session to return to a clean slate? By "in", I mean without manipulating subsessions.
Type
exec($0)
in your irb console session.
i am using fedora 16, exec $0 do not work for me. but i found the the way below:
CTRL+L or system("clear") or system("reset")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With