Ruby 1.9.2 リファレンスマニュアル
>
ライブラリ一覧
>
tk/textライブラリ
>
TkTextクラス
> tag_names
instance method TkText#tag_names
tag_names(index = Tk::None)