From: Yukihiro Matsumoto Date: 2005-07-18T08:04:32+09:00 Subject: Re: ] Re: Ruby has ruined my Java Hi, In message "Re: ] Re: Ruby has ruined my Java" on Mon, 18 Jul 2005 08:01:02 +0900, Hidetoshi NAGAI writes: |> b = TkButton.new(nil, "text"=>"quit").pack |> b.command { exit } | |Or, | b = TkButton.new(nil, :text=>'quit', :command=>proc{exit}).pack | |Why did you write it in two lines? ;-) Perhaps he saw my recent slide, which tried to explain callback blocks. matz.