Gracefully exiting from console programs in Ruby | Heykuki News