Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Procクラス > source_location
source_location -> [String, Fixnum] | nil
returns the ruby source filename and line number containing this proc or nil if this proc was not defined in ruby (i.e. native)