method

in_locked_deps?

ruby latest stable - Class: Bundler::Definition

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

in_locked_deps?(dep, locked_dep)
private

No documentation available.

# File lib/bundler/definition.rb, line 831
    def in_locked_deps?(dep, locked_dep)
      # Because the lockfile can't link a dep to a specific remote, we need to
      # treat sources as equivalent anytime the locked dep has all the remotes
      # that the Gemfile dep does.
      locked_dep && locked_dep.source && dep.source && locked_dep.source.include?(dep.source)
    end