method
to_lock
v2_6_3 -
Show latest stable
- Class:
Bundler::Plugin::API::Source
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.