method

can_lock?

ruby latest stable - Class: Bundler::Source::Rubygems

Method not available on this version

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

can_lock?(spec)
public

No documentation available.

# File lib/bundler/source/rubygems.rb, line 53
      def can_lock?(spec)
        return super if Bundler.feature_flag.lockfile_uses_separate_rubygems_sources?
        spec.source.is_a?(Rubygems)
      end