class Berkshelf::Lockfile::Graph
def update(cookbooks)
-
(
Array
) --
def update(cookbooks) @graph = {} cookbooks.each do |cookbook| @graph[cookbook.cookbook_name.to_s] = GraphItem.new( cookbook.cookbook_name, cookbook.version, cookbook.dependencies ) end end