Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > rubygems/uninstallerライブラリ > Gem::Uninstallerクラス > dependencies_ok?

instance method Gem::Uninstaller#dependencies_ok?

dependencies_ok?(spec) -> bool

アンインストール指定された Gem を削除しても依存関係を満たすことができるか どうかチェックします。

[PARAM] spec:
アンインストール指定されている Gem の Gem::Specification を指定します。
class Gem::Uninstaller