このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ

Ruby 1.9.3 リファレンスマニュアル

instance method Gem::Commands::UpdateCommand#which_to_update

which_to_update(highest_installed_gems, gem_names) -> Array[permalink][rdoc]

更新が必要な Gem のリストを返します。