Method: Bundler::Index#subset?
- Defined in:
- lib/bundler/index.rb
permalink #subset?(other) ⇒ Boolean
Whether all the specs in self are in other
148 149 150 151 152 153 |
# File 'lib/bundler/index.rb', line 148 def subset?(other) all? do |spec| other_spec = other[spec].first other_spec && dependencies_eql?(spec, other_spec) && spec.source == other_spec.source end end |