Ruby 1.8.7 リファレンスマニュアル
>
ライブラリ一覧
>
tkライブラリ
>
Tkモジュール
> focus
singleton method Tk.focus
focus(display = nil)