Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
source_from_lock(locked_opts)
public
@param [Hash] The options that are present in the
lock file @return [API::Source] the instance of the class that handles the
source
type passed in locked_opts
# File lib/bundler/plugin.rb, line 150
def source_from_lock(locked_opts)
src = source(locked_opts["type"])
src.new(locked_opts.merge("uri" => locked_opts["remote"]))
end