Reputation: 33517
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.
Upvotes: 12
Views: 8472
Reputation: 95
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")
Upvotes: 3