Method: Berkshelf::CachedCookbook#initialize
- Defined in:
- lib/berkshelf/cached_cookbook.rb
#initialize(path) ⇒ CachedCookbook
Returns a new instance of CachedCookbook.
58 59 60 61 62 63 |
# File 'lib/berkshelf/cached_cookbook.rb', line 58 def initialize(path) @path = path # eagerly load to force throwing on bad metadata while constructing cookbook_name end |