Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > object ENV > invert
invert -> Hash
環境変数の値をキー、名前を値とした Hash を生成して返します。