lib/chef-api/error_collection.rb in chef-infra-api-0.10.0 vs lib/chef-api/error_collection.rb in chef-infra-api-0.10.2
- old
+ new
@@ -32,10 +32,10 @@
# information about validation to the user when something goes wrong.
#
# @return [Array<String>]
#
def full_messages
- self.map do |key, errors|
+ map do |key, errors|
errors.map do |error|
"`#{key}' #{error}"
end
end.flatten
end