module Bundler::Plugin
def source_from_lock(locked_opts)
-
(API::Source)- the instance of the class that handles the source
Parameters:
-
The(Hash) -- options that are present in the lock file
def source_from_lock(locked_opts) src = source(locked_opts["type"]) src.new(locked_opts.merge("uri" => locked_opts["remote"])) end