class Berkshelf::NotACookbook

def initialize(path)

Parameters:
  • path (String) --
def initialize(path)
  @path = File.expand_path(path) rescue path
end

def to_s

def to_s
  "The resource at '#{@path}' does not appear to be a valid cookbook. " \
  "Does it have a metadata.rb?"
end