Ruby 1.8.7 リファレンスマニュアル
>
ライブラリ一覧
>
tk/winfoライブラリ
>
TkWinfoモジュール
> screendepth
singleton method TkWinfo.screendepth
screendepth(win)