class Berkshelf::CookbookNotFound
def initialize(name, version, location)
def initialize(name, version, location) @name = name @version = version @location = location end
def to_s
def to_s if @version "Cookbook '#{@name}' (#{@version}) not found #{@location}!" else "Cookbook '#{@name}' not found #{@location}!" end end