#!/usr/koeki/bin/ruby -Ke require 'tk' TkLabel.new("text" => " Hello, world! ") { bind('1', proc {exit}) }.pack Tk.mainloop