method

remove_installed!

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: AvailableSet
remove_installed!(dep) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/available_set.rb, line 149
  def remove_installed!(dep)
    @set.reject! do |t|
      # already locally installed
      Gem::Specification.any? do |installed_spec|
        dep.name == installed_spec.name and
          dep.requirement.satisfied_by? installed_spec.version
      end
    end

    @sorted = nil
    self
  end
Register or log in to add new notes.