Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > tracerライブラリ > Tracerクラス > add_filter
add_filter(p = proc)
フィルターを追加します。