class Gem::Resolver::ActivationRequest

Public Instance Methods

installed?() click to toggle source
# File bundler/rubygems_ext.rb, line 401
def installed?
  case @spec
  when Gem::Resolver::VendorSpecification then
    true
  else
    this_spec = full_spec

    Gem::Specification.any? do |s|
      s == this_spec && s.base_dir == this_spec.base_dir
    end
  end
end