class Berkshelf::InsufficientPrivledges

Public Class Methods

new(path) click to toggle source
# File lib/berkshelf/errors.rb, line 179
def initialize(path)
  @path = path
end

Public Instance Methods

message()
Alias for: to_s
to_s() click to toggle source
# File lib/berkshelf/errors.rb, line 183
def to_s
  "You do not have permission to write to '#{@path}'! Please chown the " \
  "path to the current user, chmod the permissions to include the " \
  "user, or choose a different path."
end
Also aliased as: message