class Berkshelf::CookbookStore
def cookbook(name, version)
-
(Berkshelf::CachedCookbook, nil)
-
Parameters:
-
version
(String
) -- -
name
(String
) --
def cookbook(name, version) path = cookbook_path(name, version) return nil unless path.cookbook? CachedCookbook.from_store_path(path) end