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\",
irb
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")
Type
exec($0)
in your irb console session.