class Berkshelf::CookbookValidationFailure
Public Class Methods
new(dependency, cached_cookbook)
click to toggle source
@param [Location] location
the location (or any subclass) raising this validation error
@param [CachedCookbook] cached_cookbook
the cached_cookbook that does not satisfy the constraint
# File lib/berkshelf/errors.rb, line 245 def initialize(dependency, cached_cookbook) @dependency = dependency @cached_cookbook = cached_cookbook end
Public Instance Methods
to_s()
click to toggle source
# File lib/berkshelf/errors.rb, line 250 def to_s "The cookbook downloaded for #{@dependency} did not satisfy the constraint." end
Also aliased as: message