Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem::RequestSet::Lockfile.build

build(request_set, gem_deps_file, dependencies = nil)

Creates a new Lockfile for the given Gem::RequestSet and gem_deps_file location.

See also .new #add_GIT also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0