class Ridley::Errors::MissingNameAttribute

Public Class Methods

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

Public Instance Methods

message()
Alias for: to_s
to_s() click to toggle source
# File lib/ridley/errors.rb, line 60
def to_s
  out =  "The metadata at '#{@path}' does not contain a 'name' "
  out << "attribute. While Chef does not strictly enforce this "
  out << "requirement, Ridley cannot continue without a valid metadata "
  out << "'name' entry."
  out
end
Also aliased as: message