class Berkshelf::FrozenCookbook

Public Class Methods

new(cookbook) click to toggle source

@param [CachedCookbook] cookbook

# File lib/berkshelf/errors.rb, line 263
def initialize(cookbook)
  @cookbook = cookbook
end

Public Instance Methods

message()
Alias for: to_s
to_s() click to toggle source
# File lib/berkshelf/errors.rb, line 267
def to_s
  "The cookbook #{@cookbook.cookbook_name} (#{@cookbook.version}) " \
  "already exists and is frozen on the Chef Server. Use the --force " \
  "option to override."
end
Also aliased as: message