二日ぶりにRubyの勉強。コールバックの例文で以下の通りに入力してみました。 require 'tk' TkLabel.new{ text "hello, world!!" bg "red" pack } TkButton.new{ text "Close" command {exit} pack } Tk.mainloop 保存したファイルをコマンドラインから実行…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.