method
add_specs
ruby latest stable - Class:
Bundler::LockfileGenerator
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