method

locked_gems

ruby latest stable - Class: Bundler

Method not available on this version

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

locked_gems()
public

No documentation available.

# File lib/bundler.rb, line 145
    def locked_gems
      @locked_gems ||=
        if defined?(@definition) && @definition
          definition.locked_gems
        elsif Bundler.default_lockfile.file?
          lock = Bundler.read_file(Bundler.default_lockfile)
          LockfileParser.new(lock)
        end
    end