class Berkshelf::Shelf

def contingencies(cookbook)

Returns:
  • (Array) -

Parameters:
  • cookbook (Berkshelf::CachedCookbook) --
def contingencies(cookbook)
  store.cookbooks.select { |c| c.dependencies.include?(cookbook.cookbook_name) }
end