method

add_specs

ruby latest stable - Class: Bundler::LockfileGenerator

Method not available on this version

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

add_specs(specs)
private

No documentation available.

# File lib/bundler/lockfile_generator.rb, line 43
    def add_specs(specs)
      # This needs to be sorted by full name so that
      # gems with the same name, but different platform
      # are ordered consistently
      specs.sort_by(&:full_name).each do |spec|
        next if spec.name == "bundler".freeze
        out << spec.to_lock
      end
    end