123456789_123456789_123456789_123456789_123456789_

Class: Resolver::ActivationRequest

Relationships & Source Files
Inherits: Object
Defined in: lib/bundler/rubygems_ext.rb

Instance Attribute Summary

Instance Attribute Details

#installed?Boolean (readonly)

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 441

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