method

to_lock

ruby latest stable - Class: Bundler::Plugin::API::Source

Method not available on this version

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

to_lock()
public

Generates the content to be entered into the lockfile. Saves type and remote and also calls to `options_to_lock`.

Plugin should use `options_to_lock` to save information in lockfile and not override this.

Note: Do not override if you don’t know what you are doing.