Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library erb > class ERB > filename
filename -> String
エラーメッセージを表示する際のファイル名を取得します。