method
add_dependencies
v2_6_3 -
Show latest stable
- Class:
Bundler::LockfileGenerator
add_dependencies()private
No documentation available.
# File lib/bundler/lockfile_generator.rb, line 57
def add_dependencies
out << "\nDEPENDENCIES\n"
handled = []
definition.dependencies.sort_by(&:to_s).each do |dep|
next if handled.include?(dep.name)
out << dep.to_lock
handled << dep.name
end
end