method

lock

ruby latest stable - Class: Bundler::Runtime

Method not available on this version

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

lock(opts = {})
public

No documentation available.

# File lib/bundler/runtime.rb, line 119
    def lock(opts = {})
      return if @definition.nothing_changed? && !@definition.unlocking?
      @definition.lock(Bundler.default_lockfile, opts[:preserve_unknown_sections])
    end